Quote:
Originally Posted by bear24rw
For your printF your not printing any values.. try it like this
Code:
printf("volts %d\n","battery_voltage %d\n",volts_variable, battery_voltage_variable);
|
The Code:
Code:
printf("volts %d\n","battery_voltage %d\n",volts_variable,battery_voltage_variable);
The Build:
Code:
C:\FrcCode2005v2.2\user_routines_fast.c:168:Error [1105] symbol 'volts_variable' has not been defined
C:\FrcCode2005v2.2\user_routines_fast.c:168:Error [1105] symbol 'battery_voltage_variable' has not been defined
C:\FrcCode2005v2.2\user_routines_fast.c:168:Warning [2058] call of function without prototype
Halting build on first failure as requested.
I also tried
Code:
printf("volts %d\n","battery_voltage %d\n",(int)volts,(int)battery_voltage);
That compiled, but it's still giving me a ridiculously high number, which is now constant at 16025.