Hi,
I have got my usb joystick working, but my axis starts in the centre moves to the right, to the left side then back to the centre as i increase the pot.
I am doing a simple "adcin, 0, USBBuffer[0]" as in your example.
I tried shifting the result 4 bits to the left but this just mixes it up onto 2 axes.
What am I doing wrong?
Doh, all i had to do is add 128 to the result, boy do i feel foolish :-)
Regards
Bob...




Bookmarks