Thanks to Zoltan Hudak publish the way to use STM32F103c8t6 on mbed. Now, this example can let you use it with a encoder.
Dependencies: QEI mbed-STM32F103C8T6 mbed
Fork of STM32F103C8T6_Hello by
main.cpp
- Committer:
- hudakz
- Date:
- 2016-07-02
- Revision:
- 0:ab218237069e
- Child:
- 1:1dd12d8c840d
File content as of revision 0:ab218237069e:
#include "mbed.h" DigitalOut myled(LED1); int main() { while(1) { myled = 1; // LED is ON wait(0.2); // 200 ms myled = 0; // LED is OFF wait(1.0); // 1 sec } }