test delays

main
radex 2024-02-20 15:29:12 +01:00
parent e342d6f684
commit a6d9ad9817
Signed by: radex
SSH Key Fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30
2 changed files with 11 additions and 1 deletions

View File

@ -26,7 +26,7 @@
#define KBD_I2C_ADDR 0x21
// Used by keyboard and encoder switch
#define DEBOUNCE_MS 10
#define DEBOUNCE_MS 5
// --- Z axis motor

View File

@ -62,6 +62,16 @@ void loop() {
demo_moveBy(-80000);
} else if (digit == 5) {
demo_moveBy(80000);
} else if (digit == 7) {
auto micros1 = micros();
// 0.1ms
// Serial.println("Hello, world!");
// 13.2ms
// lcd.print("Hello, world!");
// 0.5ms
// auto key = handleKeyboard();
auto micros2 = micros();
Serial.println(micros2 - micros1);
} else {
tick();
}