main_robot_2025-2026_club_2/program/main controller code/src/main.c
2026-01-11 20:35:28 +01:00

28 lines
643 B
C

/* *\
Copyrights 2025
Riombotique
\* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* Code du RPI Pico principale gérant les differentes entrées-sorties. *
* Ce Pico est un maitre pilotant le gyroscope, l'internet et le motion controller.*
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "headers/robot.h"
robot_t robot;
int main(void)
{
robot_init();
while(robot.is_running)
{
robot_handle_inputs_outputs();
}
robot_deinit();
return 0;
}