If you are declaring the variable outside of a function in terminal.c, make it an unsigned char.
In order to be able to access the variable in user_routines.c, put a
Quote:
|
extern unsigned char Pan_Angle;
|
at the top of the file, outside the functions.