From 35e97572d96d8212f5db01ba0bb0b6459a18677f Mon Sep 17 00:00:00 2001 From: Thijs Raymakers Date: Wed, 19 Jun 2024 22:44:31 +0200 Subject: [PATCH] Setup serial example --- .gitignore | 1 + src/main.cpp | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 03f4a3c..70f8402 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .pio +compile_commands.json diff --git a/src/main.cpp b/src/main.cpp index cb61667..1d27ab7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,8 @@ -void setup() {} +#include -void loop() {} +void setup() { Serial.begin(9600); } + +void loop() { + Serial.println("Hello world!"); + delay(1000); +}