David's dead reckoning code for the LVBots competition on March 6th. Uses the mbed LPC1768, DRV8835, QTR-3RC, and two DC motors with encoders.
Dependencies: PololuEncoder Pacer mbed GeneralDebouncer
buttons.h@16:8eaa5bc2bdb1, 2014-02-24 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Mon Feb 24 01:26:00 2014 +0000
- Revision:
- 16:8eaa5bc2bdb1
- Parent:
- 11:bd14d512340a
Got debounced button pressing to work.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DavidEGrayson | 11:bd14d512340a | 1 | #pragma once |
DavidEGrayson | 11:bd14d512340a | 2 | |
DavidEGrayson | 11:bd14d512340a | 3 | void buttonsInit(); |
DavidEGrayson | 11:bd14d512340a | 4 | |
DavidEGrayson | 16:8eaa5bc2bdb1 | 5 | bool button1IsPressed(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 6 | |
DavidEGrayson | 16:8eaa5bc2bdb1 | 7 | void button1Monitor(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 8 | |
DavidEGrayson | 16:8eaa5bc2bdb1 | 9 | bool button1DefinitelyPressed(); |
DavidEGrayson | 16:8eaa5bc2bdb1 | 10 | bool button1DefinitelyReleased(); |