mangue baja example serial
Dependencies: mbed-STM32F103C8T6
Revision 1:e96b56e982b5, committed 2019-07-30
- Comitter:
- danilloaguiar
- Date:
- Tue Jul 30 18:37:57 2019 +0000
- Parent:
- 0:85b368f15c18
- Commit message:
- Mangue Baja Serial Example
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 85b368f15c18 -r e96b56e982b5 main.cpp --- a/main.cpp Tue Jul 02 22:49:09 2019 +0000 +++ b/main.cpp Tue Jul 30 18:37:57 2019 +0000 @@ -1,14 +1,10 @@ #include "stm32f103c8t6.h" #include "mbed.h" -DigitalOut myled(PC_13); // main() runs in its own thread in the OS int main() { while(1) { - myled = 1; // LED is ON - wait(0.2); // 200 ms - myled = 0; // LED is OFF - wait(1.0); // 1 sec + printf("HELLO"); } }