mbed-classic on Bluepill
Dependencies: mbed-STM32F103C8T6 mbed
Fork of Testato-mbed-dev-Bluepill by
main.cpp
- Committer:
- testato
- Date:
- 2018-04-06
- Revision:
- 21:87f8fca3abaf
- Parent:
- 17:3a0c7d186eef
File content as of revision 21:87f8fca3abaf:
#include "stm32f103c8t6.h" #include "mbed.h" //Serial pc(PA_2, PA_3); DigitalOut myled(PC_13); int main() { confSysClock(); //Configure system clock (72MHz HSE clock, 48MHz USB clock) while(1) { myled = 0; wait(0.1); myled = 1; wait(0.1); //pc.printf("Blink\r\n"); } }