Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: trackballer.cpp
- Revision:
- 8:2602108edf40
- Parent:
- 7:229fc175e05e
- Child:
- 9:4f8eafec5a7b
--- a/trackballer.cpp Sat Feb 19 20:41:29 2011 +0000 +++ b/trackballer.cpp Sun Feb 20 16:15:21 2011 +0000 @@ -78,18 +78,18 @@ } } _lastButtonState = _buttonState; - //button = _buttonState; + button = _buttonState; if (_buttonPushCounter % 2 == 0) { _redLED->write(1); - button = 0x01; + //button = 0x01; } else { _redLED->write(0); - button = 0x00; + //button = 0x00; } _upState = _upPin->read();