View Single Post
  #15   Spotlight this post!  
Unread 03-02-2005, 13:33
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,803
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: trentonDrive.c: our joystick/wheel drive code

Quote:
Originally Posted by Anton
Each time I compile the function it says
C:\FrcCode2005v2.2\trentonDrive.c:164:Error [1105] symbol 'pwm10' has not been defined
C:\FrcCode2005v2.2\trentonDrive.c:164:Error [1101] lvalue required

do you know what could be the problem?
Probably missing a required compiler flag in MPLAB for the FRC. The code isn't setup for the EDU controller.

Project -> Build Options... -> Project
MPLAB C18 tab
By "Macro Definitions" click on "Add..."
type _FRC_BOARD in the popup, then OK
Build everything again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle