Ben Gordon
/
ELEC351_GroupA-branch1
Troubleshooting
Diff: displayThread.cpp
- Revision:
- 14:9d4c24c3c696
- Parent:
- 13:d49ec153d644
- Child:
- 17:b7cd66c5f845
--- a/displayThread.cpp Thu Nov 08 22:39:14 2018 +0000 +++ b/displayThread.cpp Thu Nov 08 22:49:39 2018 +0000 @@ -14,9 +14,10 @@ display.INIT(); while(1) { - if((buttonPressed&1) == 1) + if((buttonPressed & 1) == 1) { display.pageTwo(); + buttonPressed &= 2; //clear bit 1 } } }