15 static const char hexconv[] =
"0123456789abcdef";
16 static const char binconv[] =
"01";
29 putchar(hexconv[c >> 4]);
30 putchar(hexconv[c & 0x0f]);
36 unsigned char i = 0x80;
38 putchar(binconv[(c & i) != 0]);
48 for(div = 100; div > 0; div /= 10) {
49 uint8_t disp = c / div;
51 if((disp != 0) || (hassent) || (div == 1)) {
Header file for debugging functions used by the sensinode port.