You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//* Enquanto a linha abaixo não for um comentário, a referente parte não será compilada
// #define _DEBUG_
// #define _AUTONOMOUS_
#include <Arduino.h>
#include "joystick.cpp"
#include "motors.cpp"
#ifdef _AUTONOMOUS_
#include "autonomous.cpp"
#else
#include "controlled.cpp"
#endif
void setup()
{
// Alocação de todos os timers
//* Por padrão, a biblioteca ESP32PWM reserva apenas o Timer 0 para uso. Usando a definição abaixo é permitida a alocação de todos os timers (0, 1, 2 e 3) para uso com a biblioteca.