Robot using IMU and IR sensor data to drive autonomously and create a map

Dependencies:   mbed mbed-rtos LSM9DS1_Library_cal Motor

Committer:
swilkins8
Date:
Sun Apr 10 20:57:18 2016 +0000
Revision:
1:27c32ba9fe93
Parent:
0:8e17f11689f2
Child:
2:fcf6f5901ee6
Testing permissions

Who changed what in which revision?

UserRevisionLine numberNew contents of line
wschon 0:8e17f11689f2 1 #include "mbed.h"
wschon 0:8e17f11689f2 2
wschon 0:8e17f11689f2 3 DigitalOut myled(LED1);
wschon 0:8e17f11689f2 4
wschon 0:8e17f11689f2 5 int main() {
swilkins8 1:27c32ba9fe93 6 //Test
wschon 0:8e17f11689f2 7 while(1) {
wschon 0:8e17f11689f2 8 myled = 1;
wschon 0:8e17f11689f2 9 wait(0.2);
wschon 0:8e17f11689f2 10 myled = 0;
wschon 0:8e17f11689f2 11 wait(0.2);
wschon 0:8e17f11689f2 12 }
wschon 0:8e17f11689f2 13 }