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@47:9773dc14c834, 2019-07-31 (annotated)
- Committer:
- DavidEGrayson
- Date:
- Wed Jul 31 07:14:09 2019 +0000
- Revision:
- 47:9773dc14c834
- Parent:
- 16:8eaa5bc2bdb1
Got some awesome results using carefully calculated scale factors for the gyro!
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(); |