|
Post by rayman on Sept 13, 2016 2:00:16 GMT -8
hi, why crash the display ? the time to crash is always different ? can anyone give me a hint ... i use the follow simple test-code void setup() { // wakeup display (pd-pin) pinMode(4, OUTPUT); digitalWrite(4, HIGH); delay(20); digitalWrite(4, LOW); delay(20); digitalWrite(4, HIGH); delay(20);
GD.begin(~GD_STORAGE); GD.ClearColorRGB(BLACK); GD.Clear(); GD.swap(); }
void loop() { GD.ClearColorRGB(BLACK); GD.Clear(); GD.cmd_number(240, 136, 31, OPT_CENTER, count); count++; GD.swap(); }
|
|
|
Post by rayman on Sept 15, 2016 13:22:58 GMT -8
hi @all ...
i've tried with a arduino uno, works perfect ...
thae same code and hw-pin-setting dosn't work with teensy3.1/3.2 ;(
does somebody has any idea... ?
|
|
|
Post by tftlcdcyg on Sept 15, 2016 17:23:03 GMT -8
|
|
|
Post by rayman on Sept 15, 2016 21:27:53 GMT -8
i have run a gameduino2 with my teensy, no problem, my problem is the combination from teensy with hotmcu-display thx for hint with the length of wires ... i will try that sorry for my bad english
|
|
|
Post by rayman on Sept 16, 2016 0:35:56 GMT -8
uff ... with shorter cables works perfect !!!
thx for the note ...
|
|
|
Post by rayman on Sept 16, 2016 6:26:46 GMT -8
now i have the next problem ;( i add sd-card to spi-bus, works perfect if i remove mosi-wire (pin13) if i add the display-mosi to the spi-bus, access to the sd-card not possible any hints thx
|
|
|
Post by rayman on Sept 16, 2016 10:05:36 GMT -8
replace the old 2gb sd-card with a new 4gb card ... and works fine
|
|
|
Post by tftlcdcyg on Sept 16, 2016 21:54:18 GMT -8
1. Try with a SD card from Kingston 4 or 8 Gb 2. This is my setup with Teensy 3.2 and FT813 5" screen from Riverdi: FT813/Gameduino 2/SD reader Teensy 3.2
MOSI 11 MISO 12 SCLK 13 CS-screen 8
CD SD reader 21
GND GND VCC 3.3 V The SPI wires from the screen must be connect in the same lines that SPI lines from SD reader.
|
|