
working button incrementer
Revision 1:ac916e153bc4, committed 2021-02-18
- Comitter:
- andrewbw01
- Date:
- Thu Feb 18 14:16:42 2021 +0000
- Parent:
- 0:bfc9617c596c
- Commit message:
- working button incrementer
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Feb 10 15:31:26 2021 +0000 +++ b/main.cpp Thu Feb 18 14:16:42 2021 +0000 @@ -13,12 +13,10 @@ while(1) { - if (counter>9) counter = 0; + if (counter>3) counter = 0; if (counter<0) counter = 0; - DisplayNumber(counter); - if (button_up == 1) { counter++;