Quote:
|
Originally Posted by doyler
When i tried to put
#define STEERING_COMP 30 //steering compenstation (0 to 127)
#define SPEED_SETTING 150 //forward speed setting (127 to 254)
in user_routines.h I was getting compiler errors that steering_comp wasn't defined
|
You also need to update your user_routines.c to replace all instances steering_comp with STEERING_COMP. C is case sensitive so they are not the same. By most conventions, constants are in all capitals so that they stand out.