Since then, I've been selfishly wanting to build my own creations off those apps, so I simply slotted my own code into Matt's main loop, and deleted his text display stuff.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3uVLGXVUcQTOhr-ce4386X3a_eWPjI4BvHCqcSAPnZ5UFzwDOyKDRXbfWX3fN4jjE6z9v2f67lk2N1FFHy5aNoOnSgCVylN3q4tSdt6j6XOVB3MEXaL7iS9vUhCa67kihbPa_DjcPbOs/s400/InputShield_Ellipses.jpg)
Which morphed this App into a graphical display of the Joystick position. It also shows how to scale and translate analog values into more meaningful data. Sinced I mostly used ellipse's to draw the graphics, I called it InputShield_Ellipses!
3 comments:
Great application :)
I dont know why it oscillate so much with my InputShield...watch this video:
http://www.youtube.com/watch?v=dZFoaoSOXt0
Any suggestion? Thanks.
@isi hmmm... mine looks like that too if the connection isn't right on the extendershield? i think it might mean the connection is dropping packets occasionally? i noticed that when i actually put code in the main loop, or make the delay bigger, it goes away... chris?
yes, i have check the imputshield and the arduino and they are both correct...it maybe a problem in the extendershield or somewhere in the code i think. Thanks
Post a Comment