From: Christian Pointner Date: Sat, 6 Mar 2010 08:38:17 +0000 (+0000) Subject: added Error string for unknown command X-Git-Url: https://git.realraum.at/?p=svn42.git;a=commitdiff_plain;h=31f9a2935de49551e0be27f9871c096258c9fc38 added Error string for unknown command --- 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"); } }