1
0

Doxygen code comments included
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2021-10-28 14:44:20 +00:00
parent 2b8b4a048a
commit 3b09803b3a
9 changed files with 103 additions and 17 deletions

View File

@ -10,6 +10,11 @@ Max7456 osd;
DisplayProxyMAX7456 display(&osd);
CommandHandler cmd_handler(&display);
/**
* Setup handler (Arduino Style)
*
* Write some debug information to the serial port and initialize the display.
*/
void setup()
{
Serial.begin(BAUDRATE);
@ -34,6 +39,11 @@ void setup()
Serial.println("Ready!");
}
/**
* Loop handler (Arduino Style)
*
* Continously read the serial port if input is available. On line change send to the command handler.
*/
void loop()
{
while (Serial.available() > 0)