View Single Post
  #5   Spotlight this post!  
Unread 29-01-2008, 17:38
B_Dubbs B_Dubbs is offline
Registered User
AKA: Brian
FRC #1153
Team Role: Programmer
 
Join Date: Mar 2007
Rookie Year: 2006
Location: Walpole, MA
Posts: 29
B_Dubbs is an unknown quantity at this point
Re: Problem with printf()

Make sure that you have included stdio.h at the begining of the program like so
Code:
#include <stdio.h>
If that doesn't work then try adding
Code:
-mL -nw=2066 -D_FRC_BOARD
to the build options menu MPLabC18 tab, then click use alternate settings and add that to the end so it looks like this:
Code:
-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -mL -nw=2066 -D_FRC_BOARD
Hopefully this will help you with your problem.