|
final project
1
|
distance measurement for ping sensor More...
Go to the source code of this file.
Functions | |
| void | ping_init () |
| initializes ping sensor More... | |
| void | send_pulse () |
| sends a pulse to the ping sensor More... | |
| int | ping_read () |
| reads the response pulse from the ping sensor More... | |
| double | time2dist (int time) |
| convert a sonar pulse width time to a distance More... | |
| void | clock_timer_init3 (void) |
| initializes a clock timer More... | |
| void | TIMER3B_Handler (void) |
| handles interrupts More... | |
| void clock_timer_init3 | ( | void | ) |
| void ping_init | ( | ) |
| int ping_read | ( | ) |
| void send_pulse | ( | ) |
| double time2dist | ( | int | time | ) |