Biblioteca para uso do ultrassom HC-SR04
Dependents: Sonar-HC-SR04 CarrinhoLabirinto Nucleo_Us_ticker_20160803 ProjetoSO ... more
Revision 4:be89035b2c42, committed 2017-05-16
- Comitter:
- Nestordp
- Date:
- Tue May 16 01:53:19 2017 +0000
- Parent:
- 3:12d6d751f4fc
- Commit message:
- atualiza??o de documenta??o
Changed in this revision
HCSR04.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/HCSR04.h Sun Feb 22 17:15:47 2015 +0000 +++ b/HCSR04.h Tue May 16 01:53:19 2017 +0000 @@ -69,14 +69,14 @@ */ HCSR04(PinName trigger, PinName echo); - /** Faz uma leitura do sonar + /** It make a reading of the sonar Faz uma leitura do sonar * * @returns Tempo do pulso echo em microsegundos*/ float readEcho(void); - /** Mede a distância em centímetros "cm" + /** It messures the distance in centimeter "cm" * - *@returns Distância em cm + *@returns Distance in centimeter */ float getCm(void);