Changed output from dec to hex
authorKevin Townsend <kevin@ktownsend.com>
Fri, 23 Mar 2012 04:57:34 +0000 (05:57 +0100)
committerKevin Townsend <kevin@ktownsend.com>
Fri, 23 Mar 2012 04:57:34 +0000 (05:57 +0100)
project/commands/drawing/cmd_pixel.c

index 9acbdd7..0055aaa 100644 (file)
@@ -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  
This page took 0.020525 seconds and 4 git commands to generate.