Tool to dump contents of a data buffer in traditional terminal format. Some VT100 color commands used.

Dependents:   KL25Z_MLX90620

Revision:
4:c3c8b072f80f
Parent:
2:e7f3ba216a14
--- a/PrintBuffer.h	Thu May 14 16:40:04 2015 +0000
+++ b/PrintBuffer.h	Wed Apr 27 22:21:21 2016 +0000
@@ -61,27 +61,37 @@
 class PrintBuffer {
 
 public:
+
     /** Create a PrintBuffer object with a name attached 
      *
      * @param constructor, - for PrintBuffer
      */
     PrintBuffer(const char* name);
-    /** Print out hex / ascii data using pc.printf using format above
+    
+    /** Print out hex / ascii data using pc.printf using format below
      *
      * @param three, (int # of lines to print), (int starting address), (c c name of buffer to print)
      */
     int dump(const char* title, int BufferLines, int BufferOffset, const char buffer[]);
-    /** Print out hex / ascii data using pc.printf using format above
+    
+    /** Print out hex / ascii data using pc.printf using format below
      *
      * @param three, (int # of lines to print), (int starting address), (c u8_t name of buffer to print)
      */
     int dump_t(const char* title, int BufferLines, int BufferOffset, const uint8_t buffer[]);
-    /** Print out hex / ascii data using pc.printf using format above
+    
+    /** Print out hex / ascii data using pc.printf using format below
      *
      * @param three, (int # of lines to print), (int starting address), (c unsigned char name of buffer to print)
      */
     int dump_uc(const char* title, int BufferLines, int BufferOffset, const unsigned char buffer[]);
     
+    /** Print out hex / ascii data using pc.printf using format below
+     *
+     * @param four, (int # of lines to print), (int starting address), (c unsigned char name of buffer to print), (int starting address)
+     */
+    int dump_a(const char* title, int BufferLines, int BufferOffset, const char buffer[], int addr);
+    
 private:
 
     int BufferLines;