2024-10-1303 LED Steuerung

This commit is contained in:
hans-jurgen 2024-10-13 23:49:09 +02:00
parent 4aeff0beb3
commit 7c28f69760

View File

@ -40,8 +40,12 @@ Adafruit_MAX31865 thermo = Adafruit_MAX31865(5, 23, 19, 18);
// 100.0 for PT100, 1000.0 for PT1000 // 100.0 for PT100, 1000.0 for PT1000
#define RNOMINAL 1000.0 #define RNOMINAL 1000.0
int LED_Blue = 2;
void setup() { void setup() {
Serial.begin(115200); Serial.begin(115200);
pinMode (LED_Blue, OUTPUT);
digitalWrite (LED_Blue, HIGH);
Serial.println("Adafruit MAX31865 PT100 Sensor Test!"); Serial.println("Adafruit MAX31865 PT100 Sensor Test!");
thermo.begin(MAX31865_2WIRE); // set to 2WIRE or 4WIRE as necessary thermo.begin(MAX31865_2WIRE); // set to 2WIRE or 4WIRE as necessary
@ -83,5 +87,6 @@ void loop() {
thermo.clearFault(); thermo.clearFault();
} }
Serial.println(); Serial.println();
digitalWrite (LED_Blue, !digitalRead(LED_Blue));
delay(1000); delay(1000);
} }