Doxygen code comments included
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
10
src/main.cpp
10
src/main.cpp
@ -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)
|
||||
|
Reference in New Issue
Block a user