X-Git-Url: https://git.realraum.at/?p=svn42.git;a=blobdiff_plain;f=rf433ctl%2Frf433ctl.pde;h=c050dc5d3b045e3838d1f072217b834811e38614;hp=29ebfe5f44de8f4946e2467e51a2cc98ffd217fc;hb=a7efe2b4519d00825e7aea60c4e01640b5397f5e;hpb=e79631f4d1e86a5a9c2ecd318986c7f7950c40ce diff --git a/rf433ctl/rf433ctl.pde b/rf433ctl/rf433ctl.pde index 29ebfe5..c050dc5 100644 --- a/rf433ctl/rf433ctl.pde +++ b/rf433ctl/rf433ctl.pde @@ -615,7 +615,9 @@ void loop() send_yamaha_ir_signal(YAMAHA_PRG_DOWN); else if (command == '%') send_yamaha_ir_signal(YAMAHA_PRG_UP); - else if (command == '&') + else if (command == '(') + send_yamaha_ir_signal(YAMAHA_SLEEP); + else if (command == ')') send_yamaha_ir_signal(YAMAHA_P5); else Serial.println("Error: unknown command");