sui77 / rc-switch

Arduino lib to operate 433/315Mhz devices like power outlet sockets.
1.94k stars 662 forks source link

How to send()? #486

Open frspp opened 1 year ago

frspp commented 1 year ago

Example "senddemo" does not tell how to use send - what are the values. Is it send(decimal, bits)?

senddemo

  /* Send decimal code */
  mySwitch.send(5393, 24);
frspp commented 1 year ago

confirmed in docs https://github.com/sui77/rc-switch/wiki/HowTo_Send

Format is: send(decimal, bits);