From 7c28f69760a033dc99a352bd5a090f96c2049f28 Mon Sep 17 00:00:00 2001 From: hans-jurgen Date: Sun, 13 Oct 2024 23:49:09 +0200 Subject: [PATCH] 2024-10-1303 LED Steuerung --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 582127b..9d68bcd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,8 +40,12 @@ Adafruit_MAX31865 thermo = Adafruit_MAX31865(5, 23, 19, 18); // 100.0 for PT100, 1000.0 for PT1000 #define RNOMINAL 1000.0 +int LED_Blue = 2; + void setup() { Serial.begin(115200); + pinMode (LED_Blue, OUTPUT); + digitalWrite (LED_Blue, HIGH); Serial.println("Adafruit MAX31865 PT100 Sensor Test!"); thermo.begin(MAX31865_2WIRE); // set to 2WIRE or 4WIRE as necessary @@ -83,5 +87,6 @@ void loop() { thermo.clearFault(); } Serial.println(); + digitalWrite (LED_Blue, !digitalRead(LED_Blue)); delay(1000); } \ No newline at end of file