Skip to content

Commit

Permalink
ArduinoCounter: change type from int to long to enable sequences long…
Browse files Browse the repository at this point in the history
…er than 35000
  • Loading branch information
Nico Stuurman committed Nov 22, 2023
1 parent 2b4a0b7 commit 116e348
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ const int outPin = 8;

const unsigned long timeOut = 1000;

unsigned int counter = 0;
unsigned int limit;
unsigned long counter = 0;
unsigned long limit;
boolean counting = false;
boolean inputWas;
boolean invert = false;
Expand Down

0 comments on commit 116e348

Please sign in to comment.