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: Encoder mbed HIDScope Servo MODSERIAL
Fork of chessRobot by
main.cpp
- Committer:
- annesteenbeek
- Date:
- 2015-10-06
- Revision:
- 29:e4f3455aaa0b
- Parent:
- 28:40a931dfe840
- Child:
- 30:a20f16bf8dda
File content as of revision 29:e4f3455aaa0b:
#include "mbed.h" #include "EMG.h" #include "HIDScope.h" #include "PID.h" #include "encoder.h" #include "config.h" // settings and pin configurations #include "actuators.h" #include "buttons.h" #include "debug.h" Ticker debugsend; int main(){ motorInit(); //debugsend.attach(&debugProcess, 0.2); while (true) { checkSwitches(); // readEMG(); motorControl(); // servoControl(); debugProcess(); wait(0.2f); } }