Let's Make Robots!

AIRRS

Hello,

I have built my first robot, everything works fine EXCEPT one thing: the ranging sensor. When I try the simple readadc 0,b0 / debug program, the value is nearly always 158-159 ocasionnaly flashing to another value. Any help with this?

Many thanks.

PS: I am using the Picaxe Programming Editor and a Sharp GP2Y0A02YK0F