I am building a google bike, which dispalys an image of a bicycle in google maps on your web browser, and takes you on a virtual bike ride using input from an arduino. I'm following the instructions found here:
The arduino (seeeduino) receives input from the rotation of a bicycle wheel using a reed switch (window alarm) and steers a virtual bike using a joysitck.
The problem I'm having is that the image on the screen moves wildly and does not seem to be responding to the input. The sketch indicates that it print out the joystick directions horiz and vert, click button and wheel rotation to the serial as (h,v,c,r). This is then echoed on the screen in a python server.
My Question (finally): The printout on the screen is (756,765, 0,0) with the last digit climbing as it receives input. The joystick is in a neutral position, here, and the first two numbers will recede to 0 or climb to 1023. In the neutral position, shouldn't these first two numbers be 512? If so, what would cause them to read high?
TIA
Goog