 
 static char cmd;
 static byte value, stack[RF12_MAXDATA], top, sendLen, dest, quiet;
-static byte testbuf[RF12_MAXDATA], testCounter;
+static byte testbuf[RF12_MAXDATA], testCounter, useHex;
+
+static void showNibble (byte nibble) {
+    char c = '0' + (nibble & 0x0F);
+    if (c > '9')
+        c += 7;
+    Serial.print(c);
+}
+
+static void showByte (byte value) {
+    if (useHex) {
+        showNibble(value >> 4);
+        showNibble(value);
+    } else
+        Serial.print((int) value);
+}
 
 static void addCh (char* msg, char c) {
     byte n = strlen(msg);

    "  ...,<nn> s - send data packet to node <nn>, no ack" "\n"
    "  <n> l      - turn activity LED on PB1 on or off" "\n"
    "  <n> q      - set quiet mode (1 = don't report bad packets)" "\n"
    "  123 z      - total power down, needs a reset to start up again" "\n"
    "Remote control commands:" "\n"
    "  <hchi>,<hclo>,<addr>,<cmd> f     - FS20 command (868 MHz)" "\n"

const char helpText1[] PROGMEM = 
    "\n"
    "Available commands:" "\n"
    "  <nn> i     - set node ID (standard node ids are 1..30)" "\n"
    "  <n> b      - set MHz band (4 = 433, 8 = 868, 9 = 915)" "\n"
    "  <nnn> g    - set network group (RFM12 only allows 212, 0 = any)" "\n"
    "  <n> c      - set collect mode (advanced, normally 0)" "\n"
