Interface class for the Max Botix ultrasonic range finder model 1210. It includes input methods for PWM, Analog, and Serial. A PwmIn class was created to allow the PWM input to be read. Now includes automatic range update via interrupts.

Dependencies:   mbed

Revision:
1:b533b95e807a
Parent:
0:3d969e0b4ca0
Child:
4:a615b75d4126
--- a/main.cpp	Sun Aug 22 21:18:20 2010 +0000
+++ b/main.cpp	Mon Aug 23 01:12:57 2010 +0000
@@ -5,13 +5,12 @@
 Serial Computer(USBTX, USBRX);
 
 MB1210 RangeFinder(p12, p15, p13, p14);
-
+                
 int main()
 {
     Computer.baud(9600);
     debugled = 0;
     RangeFinder.Unit(39.370);//change units to inches
-    RangeFinder.Voltage(5);
     while(1)
     {
         debugled = !debugled;