View Single Post
  #38   Spotlight this post!  
Unread 23-08-2005, 09:12
jrukes jrukes is offline
Registered User
no team (none)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Libertyville,IL
Posts: 36
jrukes is on a distinguished road
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
Reply With Quote