Library containing Crazyflie 2.0 sensors drivers: - LPS25H (barometer) - MPU9250 (IMU) - PMW3901 (optical flow) - VL53L0X (range)

Dependents:   Drones-Controlador controladoatitude_cteste Drone_Controlador_Atitude optical_test

Revision:
12:2bbe233d25fb
Parent:
7:56608cce81ee
Child:
15:e07de535b86f
diff -r b3a7164c4e12 -r 2bbe233d25fb PMW3901/PMW3901.h
--- a/PMW3901/PMW3901.h	Mon Sep 24 17:25:20 2018 +0000
+++ b/PMW3901/PMW3901.h	Wed Sep 26 13:14:36 2018 +0000
@@ -26,12 +26,8 @@
  * 
  * int main() 
  * {  
- *     if(!flow.init())
- *     {
- *          pc.printf("Failed to detect and initialize optical flow on I2C bus!");    
- *          while(1);
- *     }
- *     while(1);
+ *     flow.init();
+ *     while(1)
  *     {
  *          flow.read();
  *          pc.printf("Optical flow [px]: %6.2f %6.2f \n\n", flow.x, flow.y);