RS232 control for TVOne products

Dependents:   SPK-DVIMXR

Revision:
13:4d659b89a457
Parent:
11:90e5a72a0034
Child:
14:da403a01f9ef
--- a/spk_tvone_mbed.cpp	Mon Oct 29 13:17:19 2012 +0000
+++ b/spk_tvone_mbed.cpp	Sat Nov 03 20:09:46 2012 +0000
@@ -60,7 +60,7 @@
     if (payload != payloadBack)
     {
         success = false;
-        if (debug) debug->printf("TVOne return value (%d) is not what was set (%d)", payload, payloadBack); 
+        if (debug) debug->printf("TVOne return value (%d) is not what was set (%d). Channel: %#x, Window: %#x, Function: %#x \r\n", payloadBack, payload, channel, window, func); 
     }
     return success;
 }
@@ -181,7 +181,7 @@
         }
         
         if (debug) {
-            debug->printf("Serial command write error. Time from write finish: %ims \r\n", timer.read_ms());
+            debug->printf("TVOne serial error. Time from finishing writing command: %ims \r\n", timer.read_ms());
         }
   };