Teste
Dependencies: mbed USBDevice mbed-rtos
Fork of rtos_basic by
Revision 13:1c4b44bb2031, committed 2017-12-28
- Comitter:
- caiotoledo
- Date:
- Thu Dec 28 01:13:58 2017 +0000
- Parent:
- 12:4db15879aea4
- Commit message:
- Initial Commit
Changed in this revision
--- a/I2C.bld Fri Dec 22 01:35:05 2017 +0000 +++ b/I2C.bld Thu Dec 28 01:13:58 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/82220227f4fa \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/7130f322cb7e \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDevice.lib Thu Dec 28 01:13:58 2017 +0000 @@ -0,0 +1,1 @@ +http://os.mbed.com/users/mbed_official/code/USBDevice/#53949e6131f6
--- a/main.cpp Fri Dec 22 01:35:05 2017 +0000 +++ b/main.cpp Thu Dec 28 01:13:58 2017 +0000 @@ -1,8 +1,10 @@ #include "mbed.h" #include "rtos.h" +#include "USBSerial.h" DigitalOut led1(LED1); DigitalOut led2(LED2); +USBSerial pc; Thread thread; void led2_thread() { @@ -16,6 +18,7 @@ thread.start(led2_thread); while (true) { + pc.printf("OPAAA\r\n"); led1 = !led1; Thread::wait(500); }
--- a/mbed.bld Fri Dec 22 01:35:05 2017 +0000 +++ b/mbed.bld Thu Dec 28 01:13:58 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/0ab6a29f35bf \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/7130f322cb7e \ No newline at end of file