4 sec instead of 2 sec

pico-v0.39
alanbjohnston 3 years ago committed by GitHub
parent 7cae30bbb6
commit 6da1b517fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3873,8 +3873,9 @@ void start_isr() {
void start_button_isr() {
Serial.println("Starting pushbutton ISR");
if (ITimer1.attachInterruptInterval(2000000, TimerHandler1))
// if (ITimer1.attachInterruptInterval(2000000, TimerHandler1))
if (ITimer1.attachInterruptInterval(4000000, TimerHandler1))
{
if (debug_mode)
Serial.print(F("Starting ITimer1 OK, micros() = "));

Loading…
Cancel
Save

Powered by TurnKey Linux.