0 Members and 1 Guest are viewing this topic.
3->portStoreGDBFnOffFor(I,L6,L6+767){I}->BFor(8)B . 128?0,1->portB*2->B3->portEndEndLnReg
#include <T6963due.h>#include <T6963due_Commands.h>#define CLK 13#define DAT 12T6963 lcd(240,128,8,24);byte pic[3840] = {0};unsigned long start;int t;bool taken;void setup() { lcd.Initialize(); lcd.clearCG(); // Clear character generator area lcd.clearGraphic(); // Clear graphic area lcd.clearText(); pinMode(CLK,INPUT); pinMode(DAT,INPUT);}void loop() { taken = false; while (digitalRead(CLK)); for (int y = 0; y<64; y++){ for (int n = 0; n < 12; n++){ int c = 0; for (byte b = 0; b < 8; b++){ while (!digitalRead(CLK)); if (!taken) {start = millis(); taken = true;} c = c << 2; c |= digitalRead(DAT); lcd.n_delay(); while (digitalRead(CLK)); lcd.n_delay(); } c *= 3; pic[n*2+y*60] = c>>8; pic[n*2+y*60+30] = c>>8; pic[n*2+y*60+1] = c&0xFF; pic[n*2+y*60+31] = c&0xFF; } } lcd.DispBuff(pic); t = millis()-start; lcd.TextGoTo(25,15); lcd.WriteChar(t/100+'0'); lcd.WriteChar((t%100)/10+'0'); lcd.WriteChar(t%10+'0'); lcd.WriteChar('m'); lcd.WriteChar('s');}
For any advanced color display (be it VGA or the the Sharp screen I posted) you need an extremely fast MCU to refresh the screen all along. You would need a graphics chip to handle this, even the arduino due (which finally works with the display! I will post the library later) wouldn't be fast enough too get a decent picture. The Sharp screen came with a graphics card which outputs Digital or VGA, I just don't know how to use it (it's 20 years old ). It's a VAMP535 V1.00.
Look what benryves made: http://benryves.com/products/tvdemonstrator. It outputs composite instead of vga though.