|
Re: Programming tricks (and former trade secrets)
[quote=The Lucas;585702]It only uses the LEDs while the bot is disabled, since it should be calibrated before enabling. You are free to use the LEDs as you would during the match, just put that code in the else statement. Just make sure your LEDs are set every loop to avoid confusing the drivers with stray lights.[quote]
Now, why didn't I think of that? Thanks for the tip.
__________________
Code:
void function(void)
{
function();
}
|