diff --git a/emori.ino b/emori.ino index c8178f8..b31bbf5 100644 --- a/emori.ino +++ b/emori.ino @@ -18,10 +18,10 @@ void setup() { } void process_command(String command, String param) { - if (command == "fade-to") fade_to(param.toInt()); - if (command == "led-stripe") toggle_stripes(param); - if (command == "switch-on") switch_230("on", param); - if (command == "switch-off") switch_230("off", param); + if (command == "fade") fade_to(param.toInt()); + if (command == "led") toggle_stripes(param); + if (command == "on") switch_230("on", param); + if (command == "off") switch_230("off", param); Serial.println("Ok"); } diff --git a/ctrl.rb b/emori.rb similarity index 100% rename from ctrl.rb rename to emori.rb