code for the speed robot
Dependencies: MPU6050-DMP mbed PololuQTRSensors vl53l0x
Diff: main.cpp
- Revision:
- 0:c3a27228c31b
- Child:
- 1:b188e27eb7da
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Sep 30 08:00:47 2019 +0000 @@ -0,0 +1,16 @@ +#include "mbed.h" +#include <string> +#include "_def.h" +#include "_pins.h" +#include "_var.h" +#include "gyro.h" + +int main() +{ + int i = 1; + PrintSerial("hello world"); + InitMPU(); + while(1) { + GetAngles(false); + } +}