Functions | |
void | setup () |
Arduino setup function which runs once at program startup. More... | |
void | loop () |
Arduino's low-priority loop function, which we don't use. More... | |
This file contains the main program structure for the vehicle's interface controller. It creates three RTOS tasks and begins the task scheduler. The three tasks are used with the custom Interface header file.
void loop | ( | ) |
Arduino's low-priority loop function, which we don't use.
A non-RTOS Arduino program runs all of its continuously running code in this function after setup()
has finished. When using FreeRTOS, loop()
implements a low priority task on most microcontrollers, and crashes on some others, so we'll not use it.
void setup | ( | ) |
Arduino setup function which runs once at program startup.
This function sets up a serial port for communication and creates the tasks which will be run.