Chapter005_TRobotCtrlB

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
SanYune
Date:
Tue Apr 02 08:39:51 2019 +0000
Parent:
6:4e6ec83d3c83
Commit message:
Chapter005_TRobotCtrlB

Changed in this revision

SNQueue.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /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 ';'
--- 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
-    }
 }
--- 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