RS232 control for TVOne products

Dependents:   SPK-DVIMXR

Revision:
14:da403a01f9ef
Parent:
11:90e5a72a0034
Child:
16:ed8d08386034
--- a/spk_tvone_mbed.h	Sat Nov 03 20:09:46 2012 +0000
+++ b/spk_tvone_mbed.h	Mon Nov 05 19:35:17 2012 +0000
@@ -36,13 +36,20 @@
     
     bool command(uint8_t channel, uint8_t window, int32_t func, int32_t payload);
     bool readCommand(uint8_t channel, uint8_t window, int32_t func, int32_t &payload);
+    
+    bool uploadEDID(char* edidData, int edidDataLength, int edidSlotIndex);
         
     bool setCustomResolutions();
     bool setHDCPOn(bool state);
+    
+    int timeoutCommandPeriod;
+    int minimumCommandPeriod;
+
+    int  millisSinceLastCommandSent();
      
   private:
     bool command(commandType readWrite, int* ackBuffer, int ackLength, uint8_t channel, uint8_t window, int32_t func, int32_t payload);
-  
+    
     bool set1920x480(int resStoreNumber);
     bool set1600x600(int resStoreNumber);
     bool set2048x768(int resStoreNumber);
@@ -50,6 +57,8 @@
     Serial *serial;
     Serial *debug; 
     
+    Timer timer;
+    
     DigitalOut *writeDO;
     DigitalOut *errorDO;
     Timeout signErrorTimeout;