Setup serial example
This commit is contained in:
parent
51ab2b029e
commit
35e97572d9
2 changed files with 8 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
||||||
.pio
|
.pio
|
||||||
|
compile_commands.json
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
void setup() {}
|
#include <Arduino.h>
|
||||||
|
|
||||||
void loop() {}
|
void setup() { Serial.begin(9600); }
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
Serial.println("Hello world!");
|
||||||
|
delay(1000);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue