Log in

View Full Version : Com Terminal 1 Window Problem.


groovy69
25-01-2007, 19:09
so i have a bunch of printf's in my code..

however, when you run the IFI loader, load the code and go to view the com terminal window, nothing is displayed there.

- everything is connected (ie, lets say im trying to read in a values from a pot, i have the inputs wired correctly and called correctly in the code)
- ive checked the printf code and its properly written
- a funny thing happens though, if i unplug, then plug back in, the serial port cable into the frc controller in the program port.. the com terminal 1 window will display a "IFI>" on a new line. it will do this every time i unplug, then replug the serial cable into the 'program' port on the controller..

anyone know what may be happening/have encountered something like this/ or have any suggestions?


thanks,

groovy.

Alan Anderson
25-01-2007, 20:38
What you describe sounds like the RC isn't running your program. It will give those symptoms if the OI isn't connected. Are you running it tethered, or with the radio link? What do the lights on the RC show?

Mark McLeod
25-01-2007, 22:39
I'll also ask the obvious.
Are you using:
#include <stdio.h>
in every file you have printf's?

Shinigami2057
25-01-2007, 22:55
I'll also ask the obvious.
Are you using:
#include <stdio.h>
in every file you have printf's?

I'd assume he'd have to, or else the program won't compile.

Mark McLeod
25-01-2007, 22:58
I'd assume he'd have to, or else the program won't compile.
Actually it can.