Seeed Studio Grove Sensors Example
Dependencies: mbed DHT DigitDisplay
Fork of STM32_Read_Sensors_Example by
Revision 7:d52c3793a04a, committed 2014-12-18
- Comitter:
- dangriffin
- Date:
- Thu Dec 18 18:00:17 2014 +0000
- Parent:
- 6:d25c6da3f0b6
- Commit message:
- Minor correction to message scrolling loop.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Dec 18 17:53:04 2014 +0000 +++ b/main.cpp Thu Dec 18 18:00:17 2014 +0000 @@ -157,7 +157,7 @@ { DigitalDisplay.write(position, message[(position + MessageStart) % ArraySize]); } - MessageStart++; + MessageStart = (MessageStart + 1) % ArraySize; wait(.3); #endif