The codebase to run the *spark d-fuser controller www.sparkav.co.uk/dvimixer

Dependencies:   SPK-TVOne DMX DmxArtNet NetServicesMin OSC PinDetect mRotaryEncoder iniparser mbed spk_oled_ssd1305 filter

Committer:
tobyspark
Date:
Sat Mar 10 19:26:44 2012 +0000
Revision:
0:87aab40d5806
v15 - PCB a la toby; OLED a la toby

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tobyspark 0:87aab40d5806 1 // *spark audio-visual
tobyspark 0:87aab40d5806 2 // RS232 Control for TV-One products
tobyspark 0:87aab40d5806 3 // Good for 1T-C2-750, others will need some extra work
tobyspark 0:87aab40d5806 4 // Copyright *spark audio-visual 2009-2011
tobyspark 0:87aab40d5806 5
tobyspark 0:87aab40d5806 6 #ifndef SPKTVOne_mBed_h
tobyspark 0:87aab40d5806 7 #define SPKTVOne_mBed_h
tobyspark 0:87aab40d5806 8
tobyspark 0:87aab40d5806 9 #include "spk_tvone.h"
tobyspark 0:87aab40d5806 10 #include "mbed.h"
tobyspark 0:87aab40d5806 11
tobyspark 0:87aab40d5806 12 class SPKTVOne
tobyspark 0:87aab40d5806 13 {
tobyspark 0:87aab40d5806 14 public:
tobyspark 0:87aab40d5806 15 SPKTVOne(PinName txPin, PinName rxPin, PinName signWritePin = NC, PinName signErrorPin = NC, Serial *debugSerial = NULL);
tobyspark 0:87aab40d5806 16
tobyspark 0:87aab40d5806 17 bool command(uint8_t channel, uint8_t window, int32_t func, int32_t payload);
tobyspark 0:87aab40d5806 18
tobyspark 0:87aab40d5806 19 void setCustomResolutions();
tobyspark 0:87aab40d5806 20 bool setHDCPOff();
tobyspark 0:87aab40d5806 21
tobyspark 0:87aab40d5806 22 private:
tobyspark 0:87aab40d5806 23 // Tx and Wait LED pins to go here
tobyspark 0:87aab40d5806 24 void set1920x480(int resStoreNumber);
tobyspark 0:87aab40d5806 25 void set1600x600(int resStoreNumber);
tobyspark 0:87aab40d5806 26
tobyspark 0:87aab40d5806 27 Serial *serial;
tobyspark 0:87aab40d5806 28 Serial *debug;
tobyspark 0:87aab40d5806 29
tobyspark 0:87aab40d5806 30 DigitalOut *writeDO;
tobyspark 0:87aab40d5806 31 DigitalOut *errorDO;
tobyspark 0:87aab40d5806 32 Timeout signErrorTimeout;
tobyspark 0:87aab40d5806 33 void signErrorOff();
tobyspark 0:87aab40d5806 34 };
tobyspark 0:87aab40d5806 35
tobyspark 0:87aab40d5806 36 #endif