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);
52 Notify(PSTR(
"\r\ngetDevDescr"), 0x80);
56 Notify(PSTR(
"\r\nsetDevTblEn"), 0x80);
59 Notify(PSTR(
"\r\ngetConf"), 0x80);
63 Notify(PSTR(
"\r\nsetConf"), 0x80);
67 Notify(PSTR(
"\r\nUnknown Device Connected - VID: "), 0x80);
68 PrintHex<uint16_t > (VID, 0x80);
69 Notify(PSTR(
" PID: "), 0x80);
70 PrintHex<uint16_t > (PID, 0x80);
74 PrintHex<uint8_t > (rcode, 0x80);
75 Notify(PSTR(
"\r\n"), 0x80);