Block diagram of the transmitter. It consists of an Atmel board controlling the ultrasonic ranger and the RF transmitter.
Method Summary |
init()
Initialize all variables. |
measure()
Transmits a single pulse from the ultrasonic emitter. |
t0_ovfl()
Used to set system timer |
t1_capt()
Capture event happens on falling edge of ICP. |
t1_ovfl()
Timer1 overflow ends waiting for a pulse after 16.384 ms Stops timer1 |
TransmitDistance()
Transmits the latest position reading out the RF transmitter |
Method Detail |
void measure()
void init()
void TransmitDistance()
void t0_ovfl()
void t1_capt()
void t1_ovfl()