segway_self balancing robot 4180 project

Dependencies:   mbed mbed-rtos LSM9DS1_Library

main.cpp

Committer:
pandirimukund
Date:
2020-04-09
Revision:
2:d57d50a20cdb
Parent:
0:49139eec4c55
Child:
3:a9e77d6c56f8

File content as of revision 2:d57d50a20cdb:

#include "mbed.h"

DigitalOut myled(LED4);

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