X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/2c73edfac33b11a7bca0ff5d2118458101432bde..4292be14c78b8f30075c9e4837dd026f6fec532e:/project/commands/drawing/cmd_pixel.c?ds=inline diff --git a/project/commands/drawing/cmd_pixel.c b/project/commands/drawing/cmd_pixel.c index 9acbdd7..0055aaa 100644 --- a/project/commands/drawing/cmd_pixel.c +++ b/project/commands/drawing/cmd_pixel.c @@ -87,7 +87,7 @@ void cmd_getpixel(uint8_t argc, char **argv) uint16_t value = colorsBGR2RGB(lcdGetPixel(x, y)); // Output the results - printf("%d%s", value, CFG_PRINTF_NEWLINE); + printf("0x%04X%s", value, CFG_PRINTF_NEWLINE); } #endif