Synchronous detection code with ROS communication for optic sensor

Dependencies:   FastAnalogIn mbed ros_lib_indigo

Fork of Mirror_Top_Indenter_ROS by CLUE

Revision:
3:2adce774a137
Parent:
2:25f679fea061
Child:
4:ec20064efef4
--- a/main.cpp	Wed Mar 08 16:47:56 2017 +0000
+++ b/main.cpp	Wed Mar 08 18:17:12 2017 +0000
@@ -5,8 +5,8 @@
 
 Serial pc(USBTX, USBRX); // tx, rx
 
-FastAnalogIn ain(p20); //Fast&Furious:Tokyo Drift Analog Input to PDmux
-//AnalogIn ain(p20); //Analog Input to PDmux
+//FastAnalogIn ain(p20); //Fast&Furious:Tokyo Drift Analog Input to PDmux
+AnalogIn ain(p20); //Analog Input to PDmux
 
 DigitalOut LEDout(p8); //5V output to LED mux
 DigitalOut LEDmux0(p9); //s0