![]() |
ProtoTracer
1.0
Real-time 3D rendering and animation engine
|
Entry point for various projects, managing initialization and main loop operations. More...
#include "Examples/UserConfiguration.h"
Go to the source code of this file.
Functions | |
void | setup () |
Arduino setup function, initializes the selected project. | |
void | loop () |
Arduino main loop function, animates, renders, and updates the selected project. | |
Entry point for various projects, managing initialization and main loop operations.
This file determines which project to run based on the defined preprocessor directive and provides functionality for initializing and executing the selected project.
Supported projects:
22/12/2024 22/12/2024
Definition in file main.cpp.
void loop | ( | ) |
Arduino main loop function, animates, renders, and updates the selected project.
If PROJECT_VERIFY_HARDWARE is defined, this function is disabled.
< Calculates animation ratio based on time.
< Animates the project based on the current ratio.
< Renders the project's scene.
< Displays the rendered frame.
< Outputs debugging and performance statistics.
void setup | ( | ) |
Arduino setup function, initializes the selected project.
If PROJECT_VERIFY_HARDWARE is defined, runs continuous hardware testing.
< Initializes the serial port for debugging.
< Initializes the selected project.
< Ensures stability after initialization.
Definition at line 49 of file main.cpp.
References HardwareTest::ScanDevices(), HardwareTest::TestBoopSensor(), HardwareTest::TestHUD(), and HardwareTest::TestNeoTrellis().