library for m3Dpi robot, based on the Pololu 3pi and m3pi. m3Dpi has multiple distance sensors, gyroscope, compass and accelerometer sensor to be fully aware of its environment. With the addition of xbee or nrf24n01 module it has wireless communication capabilities.

Dependencies:   m3pi ADXL345_I2C HMC5583L ITG3200 PCA9547 TLC59116 VL6180x RGB-fun xbee

Dependents:   m3Dpi-helloworld

Revision:
6:b60a3c005d3c
Parent:
4:b2fe3a2545bf
--- a/M3Dpi.h	Fri Dec 04 14:31:53 2015 +0000
+++ b/M3Dpi.h	Mon Dec 07 09:30:37 2015 +0000
@@ -24,6 +24,7 @@
     void setStatus(Color* color);
 
     void setLeds(int* colors);
+    void setLed(int index, int color);
     m3dpi::Distance getDistance();
     m3dpi::Direction getDirection(); // compass
     m3dpi::Rotation getRotation(); // gyro