done
Diff: HCSR04.h
- Revision:
- 1:56b2ae08c35e
- Parent:
- 0:d1d7bb1c1f6c
- Child:
- 2:9daf23ed9d84
diff -r d1d7bb1c1f6c -r 56b2ae08c35e HCSR04.h --- a/HCSR04.h Thu Feb 05 19:00:51 2015 +0000 +++ b/HCSR04.h Thu Feb 05 20:05:43 2015 +0000 @@ -17,7 +17,7 @@ * * int main() { * while(1) { - * printf("Distancia detectada pelo sensor Frente %.2f cm \n", sonar.echo()); + * printf("Distancia detectada pelo sensor Frente %.2f cm \n", sonar.getCm()); * wait_ms(1000); * } * }