Closed marekhalmo closed 4 years ago
Can anyone help me fix this? I tried this but i'm probably missing something..
Ok.. signed.. waiting for Jenkins
All done.. Please check the code and merge.. the build jar to check is here Just add it to the addons folder and you are ready to go.
Here is the code to check the old/new functionality, the old version will not catch the ON/OFF events. The new version will. Please make sure that you set the proper COM port. This is a windows version
[serial.items]
Switch onOffInput "ON/OFF" { serial="COM9@115200,ON(S1),OFF(R1)" }
Arduino sketch (any USB connected Arduino will work)
// Test sketch that is simulating button clicks on serial input gateway
// State indicator
#define LED LED_BUILD_IN
#define SERIAL_RATE_BAUD 115200
void setup() {
Serial.begin(SERIAL_RATE_BAUD);
}
void loop() {
Serial.println("S1");
delay(50);
Serial.println("R1");
Serial.println("C1");
delay(500);
Serial.println("S1");
delay(50);
Serial.println("R1");
delay(100);
Serial.println("S1");
delay(50);
Serial.println("R1");
Serial.println("D1");
delay(500);
Serial.println("S1");
delay(500);
Serial.println("H1");
delay(500);
Serial.println("R1");
Serial.println("E1");
delay(500);
}
@kaikreuzer will this be added to the next build? When will this happen? Everything is ready to go
Thanks @kaikreuzer . You are the best :)
… recognized
5889