segway_self balancing robot 4180 project

Dependencies:   mbed mbed-rtos LSM9DS1_Library

main.cpp

Committer:
pandirimukund
Date:
2020-04-09
Revision:
1:5afff7819c5e
Parent:
0:49139eec4c55
Child:
3:a9e77d6c56f8

File content as of revision 1:5afff7819c5e:

#include "mbed.h"

DigitalOut myled(LED3);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}