From 41154a3952b9e2d11a24839e6b2f1795590fb573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Wittstr=C3=B8m?= Date: Mon, 14 Aug 2023 13:57:28 +0200 Subject: [PATCH] renamed file --- src/{realMain.cpp => realMainRenameLater.cpp} | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) rename src/{realMain.cpp => realMainRenameLater.cpp} (79%) diff --git a/src/realMain.cpp b/src/realMainRenameLater.cpp similarity index 79% rename from src/realMain.cpp rename to src/realMainRenameLater.cpp index f78ea67..3436e51 100644 --- a/src/realMain.cpp +++ b/src/realMainRenameLater.cpp @@ -1,3 +1,5 @@ +// Rename this file later to main.cpp + #include #include #include @@ -21,18 +23,11 @@ void setup(){ pinMode(buzzerPin, OUTPUT); } -void loop(){ - // LCD - // set cursor to first column, first row - lcd.setCursor(0, 0); - // print message - lcd.print("Piss off, ghosts!"); - // clears the display to print new message - lcd.clear(); - - // buzzer +void loop(){ digitalWrite(buzzerPin, HIGH); + lcd.print("Piss off, ghosts!"); delay(1000); + lcd.clear(); digitalWrite(buzzerPin, LOW); delay(1000); } \ No newline at end of file