I've tried setting a variable to send out from the following
if ( PS4.data.button.l2 ) {
Serial.print("l2 button at ");
Serial.println(PS4.data.analog.button.l2, DEC);
Ps4keyl2 = (PS4.data.analog.button.l2, DEC);
}
The variable doesnt record the value. How would I code this?
I've tried setting a variable to send out from the following if ( PS4.data.button.l2 ) { Serial.print("l2 button at "); Serial.println(PS4.data.analog.button.l2, DEC); Ps4keyl2 = (PS4.data.analog.button.l2, DEC);
} The variable doesnt record the value. How would I code this?