View Single Post
  #3   Spotlight this post!  
Unread 22-01-2005, 16:39
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,809
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: Default Code and printf

Using the MPLAB simulator you won't be able to do printf's. There's no process setup to complete the serial connection required. The printf's will only work from the EDU or FRC.

As Brian said, the note about this warning is in the Readme.txt file in the FrcCode2005v2.4 folder.
You can use:
-nw=2066
to suppress the printf warnings.

In MPLAB go to Project -> Build Options... -> Project
then the MPLAB C18 tab
click the checkbox for "Use alternate settings"
and add it to the line underneath, e.g.,
-D_FRC_BOARD -nw=2066
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-01-2005 at 16:47.