inverse kinematics toegevoegd en tickers samengevoegd tot 1 ticker
Dependencies: HIDScope MODSERIAL biquadFilter mbed
Fork of Project_script by
main.cpp
- Committer:
- MarijkeZondag
- Date:
- 2018-09-11
- Revision:
- 3:a3ad58758696
- Parent:
- 2:2f4444f1504d
- Child:
- 4:fbea05c8fe2b
File content as of revision 3:a3ad58758696:
#include "mbed.h" #include "MODSERIAL.h" DigitalOut myled(LED_GREEN); MODSERIAL pc(USBTX, USBRX); DigitalIn button(PTA4); int main() { pc.baud(115200); pc.printf("Hello World!\r\n"); while (true) { myled==1; if (button==0) { wait(0.5f); // wait a small period of time pc.printf("%c \n",c); myled = !myled; // toggle a led } } }