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.
Dependencies: mbed QEI biquadFilter
Diff: test_main.cpp
- Revision:
- 22:cda3e5ad89c0
- Parent:
- 21:2aed81380bc3
- Child:
- 23:dba0233303b6
--- a/test_main.cpp Thu Nov 03 16:37:41 2016 +0000 +++ b/test_main.cpp Thu Nov 03 16:48:58 2016 +0000 @@ -24,6 +24,9 @@ DigitalOut led_green(LED_GREEN); DigitalOut led_blue(LED_BLUE); +/* ABORT! ABORT! */ +InterruptIn killButton(D3); + /*For debuggin purposes*/ //Serial pc(USBTX, USBRX); @@ -380,9 +383,11 @@ // ====== The entry point of our programme ====== + int main() //TODO this will become the actual main! { //pc.baud(115200); + killButton.fall(robotController.getRobot(), &Robot::kill); // initial state resetLeds();