Xbee Enabled Joystick, part I
Xbee Enabled Joystick, part II
I finally got around to demonstrating this project. It has been a long time in the making. Throwing an Arduino with an XBee shield onto my homemade RC boat, Das Boot seemed like the simplest method to demonstrate the 'XBee Enabled Joystick'.
SetupThe setup is the same as before in the first two parts. I only changed the sample rate on the joystick XBee to
0x021, which translates to 33ms, or about 30Hz. Below you can find sample code I used to demonstrate this project. I'll admit, the code was quick and dirty, but demonstrates some principles of parsing the XBee sample packet.
Enjoy the video!