http://img7.imageshack.us/img7/8660/gyroaccel.jpg
So I wired this turd up on Friday and started to fiddle around with it and made this Piece of code to see what kinda data i would get off it
;Gyro Test application
Xrate var word
YRate var word
;---------------------------
top
adin p16,Xrate
adin p17,Yrate
serout s_out,i57600,"Xrate ",Dec Xrate," Yrate ",dec Yrate,13]
pause 100
goto top
And I suppose I was kinda thinking I would get other values from the gyro portion of it, I would assumed when powered on I would get some value which happens to be 300, and then when I rotate it I get another value but when I stopped rotating it I still got 300 although it wasn’t in the same spot in 3d space… so besides that mishap, the output from the gyro and accelerometer are about the same from me just shaking it around while i watch the data…
does anyone have anything that they have made with a gyro?.. I guess I’m trying to figure out how to take advantage of this -$99 dollar device on the phoenix… so perhaps some sample code or a bit of heckling…
–Aaron