View Single Post
  #329   Spotlight this post!  
Unread 30-01-2008, 18:38
Lummis1647's Avatar
Lummis1647 Lummis1647 is offline
Registered User
FRC #1647 (Iron Devils)
Team Role: Scout
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Mount Laurel
Posts: 1
Lummis1647 is an unknown quantity at this point
Re: New C18 3.0+ Compatible FRC Code

I'm having a huge problem with the lastest code I just downloaded 2 hours ago. I'm using version 2.4 of the compiler. I followed all of the instructions in the readmes, but if I call Initialize_ADC(); and Initialize_Gyro(); in teleop/Initialization(), I'll get a blinking red and green light next to program state on the rc. On the output window, "IFI User Pr" shows up, making me think that it runs into an error in the middle of trying to print the printf:IFI User Processor Initialized ...\r\n. There are no problems when those 2 function calls are commented out(initialize gyro and adc). I've tried a combination of commenting and uncommenting the gyro code in teleop and the process_gyro_data function in teleop_spin. I don't get this problem with an earlier version of the 2.4 gyro beta code. I'm really not sure what to do. Any one else have this problem? Does this work for anyone using 2.4- the hex file builds and in ifi_frc.h I have USE_C18_24 #defined only. I'd really appreciate any suggestions. Thanks.