27 #if defined(ARDUINO) && ARDUINO >=100
30 Serial.print(c, BYTE);
35 void Notify(
char const * msg,
int lvl) {
40 while ((c = pgm_read_byte(msg++)))
Notifyc(c, lvl);
48 while (c = *msg++)
Notifyc(c, lvl);
53 #if defined(ARDUINO) && ARDUINO >=100
68 Notify(PSTR(
"\r\ngetDevDescr"), 0x80);
72 Notify(PSTR(
"\r\nsetDevTblEn"), 0x80);
75 Notify(PSTR(
"\r\ngetConf"), 0x80);
79 Notify(PSTR(
"\r\nsetConf"), 0x80);
83 Notify(PSTR(
"\r\nUnknown Device Connected - VID: "), 0x80);
84 PrintHex<uint16_t > (VID, 0x80);
85 Notify(PSTR(
" PID: "), 0x80);
86 PrintHex<uint16_t > (PID, 0x80);
90 PrintHex<uint8_t > (rcode, 0x80);
91 Notify(PSTR(
"\r\n"), 0x80);