Werkend motorscript met led feedback
Dependencies: Encoder MODSERIAL mbed HIDScope
Fork of frdm_Motortryout2 by
Revision 8:44d4f2eb6a81, committed 2015-09-21
- Comitter:
- Margreeth95
- Date:
- Mon Sep 21 12:47:49 2015 +0000
- Parent:
- 7:7fce8b4db9d8
- Commit message:
- uploading error
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7fce8b4db9d8 -r 44d4f2eb6a81 main.cpp --- a/main.cpp Mon Sep 21 12:17:11 2015 +0000 +++ b/main.cpp Mon Sep 21 12:47:49 2015 +0000 @@ -23,10 +23,12 @@ motor2speed = 0; led = 1; pc.baud(9600); + pc.printf("Tot aan loop werkt"); + ScopeTime.attach_us(&ScopeSend, 10e4); + while(true) { - ScopeTime.attach_us(&ScopeSend, 10e4); char c = pc.getc(); switch(c)