Embedded software design
iSonar uses a PIC16F684 Microchip# Flash-based, 8-bit
CMOS microcontroller to control the main function.
Figure 3 presents a software flowchart of the overall function.
In the first step, the 40 kHz Pulse-Width Modulated
(PWM) signal is generated to an ultrasonic transmitter.