kannst du mal den Link zu der Seite Posten würde mich interessieren.Code:uint8_t keyNone[8] = { 0, 0, 0, 0, 0, 0, 0 }; uint8_t keyA[8] = { 0, 0, 4, 0, 0, 0, 0 }; void setup() { pinMode(24, INPUT); Serial.begin(9600); delay(2000); } void loop() { if(digitalRead(24) == HIGH) { uint8_t ledStatus; Serial.write(keyA, 8); ledStatus = Serial.read(); delay(100); Serial.write(keyNone, 8); } }
Lesezeichen