angepasst
This commit is contained in:
parent
06a9910bc6
commit
a1de1924e7
|
|
@ -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...");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user