Hello, I would like to know how to make the Argon communicate with the Xenon. The simplest thing I would like to is push a button (digitalRead()) on the Argon and then make an action happen (digitalWrite(led, HIGH) on a selected Xenon.
psudocode might look like this:
void setup() {
pinMode(A0, INPUT); #button press on Argon
}
void loop() {
if(digitalRead(A0) == 1) # on Argon
{
Xenon1.RGB.control(true); #the next 4 lines happen on Xenon1
Xenon1.RGB.color(255,255,2550);
Xenon1.delay(1000);
Xenon1.RGB.control(false);
}
}
I know that I can use the Argon as a gateway and put a button on a Xenon but that is not what I want to do.
I have googled and looked on in the docs but I can’t seem to find the way to do it. Is it not possible?
Thanks