bbnn

Dependencies:   mbed SeeedShieldBot BluetoothSerial

Files at this revision

API Documentation at this revision

Comitter:
hellosam
Date:
Wed Jul 14 21:11:31 2021 +0000
Commit message:
bb

Changed in this revision

BluetoothSerial.lib Show annotated file Show diff for this revision Revisions of this file
SeeedShieldBot.lib 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/BluetoothSerial.lib	Wed Jul 14 21:11:31 2021 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/yihui/code/BluetoothSerial/#f56002898ee8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SeeedShieldBot.lib	Wed Jul 14 21:11:31 2021 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/teams/components/code/SeeedShieldBot/#9fd1722259a1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Jul 14 21:11:31 2021 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+ 
+DigitalOut myled(LED1);
+DigitalOut mysecondled(LED2); // name LED2 pin output as mysecondled 
+DigitalOut mythirdled(LED3);  // etc
+DigitalOut lastled(LED4);     // etc
+ 
+int main() {
+    while(1) {
+        myled = 1;  // like initial demo, light first led ON 
+        wait (0.1);
+       
+        lastled = 0;
+        wait(0.1);   // after 1 sec , repeat the while loop
+    }
+}
+ 
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Jul 14 21:11:31 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file