                  "  a <port> <device>   Add device to port\r\n"
                  "  d <port> <device>   Remove device from port\r\n"
                  "  c <port>            Clear all devices from port\r\n"
+                 "  r <device> <delay>  Set measurement period for device (in 0.1s)\r\n"
                  "  l                   List defined devices\r\n"
                  "  p                   Print current configuration\r\n"
                  "  m                   Do test measurements\r\n"

            }
            break;

        default:
            myputs("Unknown command.\n");
            break;

        // Take the measurement for the given plug and then schedule a report
        Plug &plug = plugs[event-TASK_MEASURE0];

        int period = scale_as_int(plug.period);
        if(period)
            scheduler.timer(event, period);

        measurePlug(plug, 1);
        if(scheduler.idle(TASK_REPORT))
