display speed asap

This commit is contained in:
Martin Brodbeck 2024-03-06 10:13:30 +01:00
parent 933355e2c5
commit 0e92c502b3

View file

@ -129,7 +129,7 @@ int main()
bi_decl(bi_1pin_with_name(DISPLAY_DIO_PIN, "[DIO] LED segments data pin")); bi_decl(bi_1pin_with_name(DISPLAY_DIO_PIN, "[DIO] LED segments data pin"));
bi_decl(bi_1pin_with_name(DISPLAY_CLK_PIN, "[CLK] LED segments clock pin")); bi_decl(bi_1pin_with_name(DISPLAY_CLK_PIN, "[CLK] LED segments clock pin"));
display.displayIambicMode(settings.mode); display.displayIambicMode(settings.mode);
// display.displaySpeed(11); display.displaySpeed(currentWpm);
while (true) { while (true) {
currentWpm = calcWPM(potiRead(), settings.wpmPotiMin, settings.wpmPotiMax); currentWpm = calcWPM(potiRead(), settings.wpmPotiMin, settings.wpmPotiMax);