![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
bbnn
Dependencies: mbed SeeedShieldBot BluetoothSerial
Revision 0:2d9bfc7bdde6, committed 2021-07-14
- Comitter:
- hellosam
- Date:
- Wed Jul 14 21:11:31 2021 +0000
- Commit message:
- bb
Changed in this revision
--- /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