gw.powerUp(); deprecated?

  • Hi all,

    I have a sketch with gw.powerUp(); and gw.powerDown(); which used to compile and now it does not. Removing the above calls and it compiles OK.

    So have these commands been removed from MySensors 1.5 ?


  • Admin

    That worked previously because the MySensors class inherited RF24.

    In 1.5 you can initialise a radio driver which has a sleep method that calls powerDown() (in the RF24 case).

    The radio automatically wakes up when sending a new message.

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.