]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Debug/print/print.h
Adding additional convenience functions to print.
[kiibohd-controller.git] / Debug / print / print.h
index 2383d87da129a677e561907a042d26d32553d908..ee36203cdacb3e84d7a6737eac1132a400074eb5 100644 (file)
@@ -86,6 +86,13 @@ void usb_debug_putstr( char* s );
 void usb_debug_putstrs( char* first, ... );
 
 
+// Printing numbers
+#define printHex(hex) printHex_op(hex, 1)
+
+void printInt8  ( uint8_t  in );
+void printInt16 ( uint16_t in );
+void printHex_op( uint16_t in, uint8_t op );
+
 
 // String Functions
 #define hexToStr(hex, out) hexToStr_op(hex, out, 1)