Go Down

Topic: Problema al programar. (Read 599 times) previous topic - next topic

Adolfunk

Estoy haciendo mi robot evasor de obtaculos y bueno según yo toda la programación esta correcta, la dejo aquí https://www.dropbox.com/s/3yklwl1ae7efjt3/Programacion.txt
Aún así al momento de verifiicar me tira este error

Arduino: 1.5.5-r2 (Windows 7), Placa:"Arduino Uno"

sketch_mar14a.ino: In function 'void checkDistancia()':
sketch_mar14a:54: error: 'class Ultrasonic' has no member named 'Ranging'
sketch_mar14a:54: error: 'CM' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

No entiendo bien por qué, si me pueden ayudar desde ya muchas gracias :)

Qdeathstar

Google says that problem is associated with using an old version of the library, the updated version can be found here

https://plus.google.com/101592352151414193905/posts/MnXjK1uNoVp
A creaking creeping shadow
stiff against the freezing fog
glares at a tickless watch.

Time has failed him -- all things shall pass.

Qdeathstar

https://dl.dropboxusercontent.com/u/41082176/Arduino%20robot%20with%20ultrasonic%20sensor%20and%20wheels/Arduino_Library_For_Ultrasonic_Ranging_Module_HC_SR04.zip
A creaking creeping shadow
stiff against the freezing fog
glares at a tickless watch.

Time has failed him -- all things shall pass.

Go Up