angepasst

This commit is contained in:
toptah 2026-03-06 22:03:44 +01:00
parent 06a9910bc6
commit a1de1924e7

View File

@ -6,7 +6,6 @@
#define AMOUNTOFPORTS 8 // currently max 16 ports are supported
#define EXPANDER1ADDRESS 0x21 // address of expander 1
PCF8575 expander1(EXPANDER1ADDRESS);
uint8_t portStates[AMOUNTOFPORTS];
uint8_t lastStates[AMOUNTOFPORTS] = {0};
@ -48,8 +47,7 @@ void setup() {
{
Serial.println(" => connected!!");
}
//Setup NeoPixel
NeoPixel_init(AMOUNTOFPORTS); // Initialisierung der NeoPixel
for (uint8_t i = 0; i < AMOUNTOFPORTS; i++) {
@ -59,7 +57,6 @@ void setup() {
};
pixels->show();
Serial.println("Setup End...");
}