San Yune
/
Chapter005_TRobotCtrlB
Chapter005_TRobotCtrlB
Revision 7:92e213f45f91, committed 2019-04-02
- Comitter:
- SanYune
- Date:
- Tue Apr 02 08:39:51 2019 +0000
- Parent:
- 6:4e6ec83d3c83
- Commit message:
- Chapter005_TRobotCtrlB
Changed in this revision
diff -r 4e6ec83d3c83 -r 92e213f45f91 SNQueue.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SNQueue.h Tue Apr 02 08:39:51 2019 +0000 @@ -0,0 +1,3 @@ +#define MAX_Q 8 +#define SZ_Q 64 +#define END_LINE ';'
diff -r 4e6ec83d3c83 -r 92e213f45f91 main.cpp --- a/main.cpp Wed Sep 13 11:30:50 2017 +0000 +++ b/main.cpp Tue Apr 02 08:39:51 2019 +0000 @@ -1,12 +1,6 @@ #include "mbed.h" -DigitalOut myled(LED1); +int main() +{ -int main() { - while(1) { - myled = 1; // LED is ON - wait(0.2); // 200 ms - myled = 0; // LED is OFF - wait(1.0); // 1 sec - } }
diff -r 4e6ec83d3c83 -r 92e213f45f91 mbed.bld --- a/mbed.bld Wed Sep 13 11:30:50 2017 +0000 +++ b/mbed.bld Tue Apr 02 08:39:51 2019 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/users/mbed_official/code/mbed/builds/a330f0fddbec \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/f9eeca106725 \ No newline at end of file