|
Re: Joystick Button programming
Is it compiling correctly? Before you start yelling, let me explain..... We were programming along over the weekend when things started going crazy on our robot. It took about 30 minutes before I realized that I was getting a compile error, but it was still building the .hex file for me to download even though it should abort. Double check for any error messages when you do your 'Make All' just in case.
Other than that, desk check your code and make sure you are actually getting to the the lines you are trying to run. Trust me, I've added the greatest routines ever written to some of my software over the years, only to have them not execute because I put them in the wrong place in my code. It's quite embarrassing when your boss is expecting to see a simulated missile attack show up on the screen and nothing happens!
__________________
"Opportunity is missed by most people because it is dressed in overalls and looks like work." - Thomas A. Edison
"In the professional world, spelling mistakes, grammatical shortcuts, leet-speek, and misused verbiage are not interpreted as signs of cute, efficient communications. They are indicators of illiteracy, inefficiency, unprofessional behavior, and sloppy work habits." - Dave Lavery
|