Skip to content

Commit 7e6ec64

Browse files
committed
dummy examples
1 parent 3075468 commit 7e6ec64

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

examples/10.Quadcopter/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ Fast blinking Something is wrong, connect USB serial fo
4141
MIT license - Copyright (c) 2023-2026 https://madflight.com
4242
##########################################################################################################################*/
4343

44-
void setup() {}
45-
void loop() {}
44+
#include <Arduino.h>
45+
void setup() {Serial.begin(115200);}
46+
void loop() {delay(1);}
4647
#if 0
4748

4849
#include "madflight_config.h" //Edit this header file to setup the pins, hardware, radio, etc. for madflight

examples/11.QuadcopterAdvanced/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ MIT license
4444
MIT license - Copyright (c) 2023-2026 https://madflight.com
4545
##########################################################################################################################*/
4646

47-
void setup() {}
48-
void loop() {}
47+
#include <Arduino.h>
48+
void setup() {Serial.begin(115200);}
49+
void loop() {delay(1);}
4950
#if 0
5051

5152
//Vehicle specific madflight configuration

examples/20.Plane/main.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ MIT license
7373
MIT license - Copyright (c) 2023-2026 https://madflight.com
7474
##########################################################################################################################*/
7575

76-
void setup() {}
77-
void loop() {}
76+
#include <Arduino.h>
77+
void setup() {Serial.begin(115200);}
78+
void loop() {delay(1);}
7879
#if 0
7980

8081
//Vehicle specific madflight configuration

0 commit comments

Comments
 (0)