View Single Post
  #3   Spotlight this post!  
Unread 13-01-2008, 15:57
Mauri Laitinen Mauri Laitinen is offline
Registered User
FRC #0115 (MVRT)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Cupertino, CA
Posts: 1
Mauri Laitinen is an unknown quantity at this point
Re: Help, I'm a world class computer programming genius yet I'm totally lost.

I faced the same difficulty a few years ago when I started mentoring my daughter's team. I found that picking up a copy of "Programming and Customizing PICmicro Microcontrollers" by Myke Predko explained the odd acronyms and machine-specific identifiers.

While a lot of the book concentrates on basic architecture, you'll probably be more interested in the sections on timers and interrupts, including CCP. It beats trying to figure things out from datasheets. I picked up my copy at a Borders bookstore.

I'd also suggest looking at the MPLAB C18 User's Guide (available on microchip.com) especially the section on "ISO Divergences." It also discusses interrupt handling.

As everyone else has said, Kevin Watson's code is pretty much the definitive model for programming the robot controller.

The other place to help get up to speed is the white paper section of Chief Delphi and some of the kickoff seminars on the FIRST website.

Good luck.