added Error string for unknown command
authorChristian Pointner <equinox@realraum.at>
Sat, 6 Mar 2010 08:38:17 +0000 (08:38 +0000)
committerChristian Pointner <equinox@realraum.at>
Sat, 6 Mar 2010 08:38:17 +0000 (08:38 +0000)
rf433ctl/rf433ctl.pde

index 5e7ca64..6b541e2 100644 (file)
@@ -308,5 +308,8 @@ void loop()
       send_frame(words[D2_OFF]);
     else if(command == 'T')
       printTemperature(onShieldTemp);
+
+    else
+      Serial.println("Error: unknown command");
   }
 }