Skip to content

Commit

Permalink
Merge pull request #406 from micro-manager/ArduinoCounter
Browse files Browse the repository at this point in the history
ArduinoCounter: change type from int to long to enable sequences longer than 35000
  • Loading branch information
nicost authored Nov 23, 2023
2 parents d83430d + 116e348 commit 1abc4a1
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 1abc4a1

Please sign in to comment.