|
Re: pic: PS2 Driven Robot
emarion,
Congratulations to your team on a great addition to the OI! I'm very impressed that you created your own programmer and wrote your own downloader. That info could be very useful for teams interested in starting to use PICs.
You mentioned that you'd like to have the joystick automatically go into "analog" mode. Here are the commands you'll need.
0x01, 0x43, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 //enter config mode
0x01, 0x44, 0x00, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00 // set to analog mode and lock out the mode button
0x01, 0x43, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 //exit config mode
***Note: All of the values are in hexadecimal format.
Good luck,
Jason
|