STMF302R8 Motor Controller Project

Dependencies:   BLDCmotorDriver RateLimiter mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 DigitalOut led (LED1);
00004 
00005 int main()
00006 {
00007 
00008     while (1)
00009     {
00010         led = 1;
00011         wait(1.0);
00012         led = 0;
00013         wait(1.0);
00014     }
00015     
00016 }