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.
Diff: MB1210.cpp
- Revision:
- 2:997b4057c879
- Parent:
- 1:b533b95e807a
- Child:
- 3:05183e50a923
--- a/MB1210.cpp Mon Aug 23 01:12:57 2010 +0000 +++ b/MB1210.cpp Mon Aug 23 07:11:10 2010 +0000 @@ -1,3 +1,8 @@ +//mbed Microcontroller Library +//Max Botix Ultrasonic Range Finder MB1210 Interface +//Copyright 2010 +//Thomas Hamilton + #include "MB1210.h" MB1210::MB1210(PinName pw, PinName an, PinName tx, PinName rx) : OperatingMode(0x00),