From 31f9a2935de49551e0be27f9871c096258c9fc38 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 6 Mar 2010 08:38:17 +0000 Subject: [PATCH] added Error string for unknown command --- rf433ctl/rf433ctl.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rf433ctl/rf433ctl.pde b/rf433ctl/rf433ctl.pde index 5e7ca64..6b541e2 100644 --- a/rf433ctl/rf433ctl.pde +++ b/rf433ctl/rf433ctl.pde @@ -308,5 +308,8 @@ void loop() send_frame(words[D2_OFF]); else if(command == 'T') printTemperature(onShieldTemp); + + else + Serial.println("Error: unknown command"); } } -- 1.7.10.4