NewRemoteSwitch icon indicating copy to clipboard operation
NewRemoteSwitch copied to clipboard

Change address after receiving new address

Open Lesateq opened this issue 1 year ago • 0 comments

I have used the library and it works very well. Now I have written a sketch that first uses the NewRemoteReceiver to receive and 'learn' the address of a new remote control. However, in the sketch I declare NewRemoteTransmitter transmitter(REMOTE_ADDRESS, TransPin, 269, 3). I did not succeed to change the _address parameter in loop() after it has been declared and I cannot use the new 'learned' remote control address. Perhaps a silly question, but I got stuck. Suggestions are really welcome. Thanks in advance

Lesateq avatar Feb 07 '24 14:02 Lesateq