segway_self balancing robot 4180 project

Dependencies:   mbed mbed-rtos LSM9DS1_Library

main.cpp

Committer:
fmmgramacho
Date:
2020-04-09
Revision:
6:0bff4e260db2
Parent:
5:cf7df8c086a1
Child:
7:8af26d50c006

File content as of revision 6:0bff4e260db2:

#include "mbed.h"

DigitalOut myled(LED2);

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