Hello, I am new to the forum and have a problem that may be directly related. I am not a programmer even though I have been doing it as a hobby for many years. mostly machine language and Visual Basic. Although it's been many years since I've done any machine language programming. Very little in C/C++.
I'm using an Arduino due, adapter shield and a 7 inch TFT display. The same display described here.
Generally my display works correctly but with two exceptions. When using the "PrintnNumF" and "PrintnNumI" function I have to declare the font before I use the function. It gives me an error whenever I use the fonts supplied with the display. I can use the UTFT fonts supplied with the drivers, but the fonts come out mirrored, however the order is correct. The fonts that are supplied with the display work correctly for all other print statements. The UTFT are in the correct order but the individual fonts are mirrored regardless of which print statement I use.
My projects, a "Arduino based DRO" needs to display formatted numbers. And the UTFT fonts a bit small for the application anyway. I need to know how to use the set font function with the fonts supplied with the display.
promacjoe:
Hello, I am new to the forum and have a problem that may be directly related. I am not a programmer even though I have been doing it as a hobby for many years. mostly machine language and Visual Basic. Although it's been many years since I've done any machine language programming. Very little in C/C++.
I'm using an Arduino due, adapter shield and a 7 inch TFT display. The same display described here.
Generally my display works correctly but with two exceptions. When using the "PrintnNumF" and "PrintnNumI" function I have to declare the font before I use the function. It gives me an error whenever I use the fonts supplied with the display. I can use the UTFT fonts supplied with the drivers, but the fonts come out mirrored, however the order is correct. The fonts that are supplied with the display work correctly for all other print statements. The UTFT are in the correct order but the individual fonts are mirrored regardless of which print statement I use.
My projects, a "Arduino based DRO" needs to display formatted numbers. And the UTFT fonts a bit small for the application anyway. I need to know how to use the set font function with the fonts supplied with the display.
Anyone else observed this problem
Any help will be greatly appreciated.
promacjoe.
I would suggest a new thread would be more appropriate as this question had nothing to do with the original post.
sorry to bring this back up but looking for update, i have the due with shield and 7" display as featured on ebay, i got the demo running, but it is mirrored reversed too.
what is the easiest current method to correct this ?
edit** this is not needed and not complete fix. all i had to do was use CTE70 not CTE50 as model selection (as after all i have a 7" model
i worked it out from your example and the datasheet, the library has changed a bit in layout so this is how you fix it now:
line 48 of \UTFT\tft_drivers\ssd1963\800\initlcd.h
change
LCD_Write_DATA(0x0F); //GPIO[3:0] out 1
to
LCD_Write_DATA(0x0E); //GPIO[3:0] out 1
haydent:
sorry to bring this back up but looking for update, i have the due with shield and 7" display as featured on ebay, i got the demo running, but it is mirrored reversed too.
what is the easiest current method to correct this ?
after getting the lcd working i too have tried to get the touch panel working.
i traced the lines with a multimeter and
UTouch myTouch(6,5,32,3,2);
or
UTouch myTouch(6,5,4,3,2);
seem correct, as 32 and 4 are connected in the shield CTE v1.04 i have
edit T_BUSY is not used by myTouch function...
the problem i believe is that the T_BUSY line (touch IC pin 13) in my lcd is not connected to the lcd 40 pin header.
this is delibrate as it matches the schematic diagrams i recieved with the module. though why it is the case i do not know. i believe this variant of the lcd module is a knock off of the CTE version, as they have said to me. thus it has problems like mirrored image, and they also say it doesnt actually have the font IC
any way im going to look into what this line does and if we can do with out it...
i had the same mirrored problem as you all have had, looking through the data sheet we found that the library for the ssd1963_800 has one line which sets the display mirrored or normal
(if it doesn't work, make sure arduino is actually reading from that library, which took me about 3 hours to figure out)
however i cannot get the touch screen to work. i'm using the TFT shield from elecfreaks
edit
touch screen was a hardware issue (though i don't know what the problem was, maybe a pin making poor contact)
only thing left to fix is the screen isn't displaying red
any ideas on this last issue?
edit 2
got the red sorted out thanks to another post i found on here,
I´ve got an working sketch on an 3.2" TFT Display with an IBT chip on it and
at the moment i try to transfer this to an 7" Display with an SSD1963 controller
onboard. its connected to an Arduino Mega Rev3 via shield.
I ´am using the great Libraries from Henning Karlsen which are quite easy to handle,
but now i´ve got some problems.
First it was this mirror thing and the white color which was not really "white".
After the post of isaac_alaksa :
My last problem is about reading the SD Card.
I Use the UTFT_tinyFAT library of Henning Karlsen and that worked fine on my old 3.2" Display
but now I cant get a Picture on the new display.
Does anybody know how to fix this ?
Greetings and thank you,
Moritz
-- It´s my first post so I´am new at the Forum but actually quite fit in programming
This is my first post to return all the help I have recieved over the last 2 years. Thanks guys! I can see this is an old thread but I managed a simple fix without diving into the deeper code.
I fixed the reverse image issue by checking out the documentation from Rinky Dink electronincs, there is a table of compatible displays and a list over which controller to select. I selected the CTE70 controller for my 7" dipslay in the line just before void setup in the demo example.
So I went from
// Remember to change the model parameter to suit your display module!
UTFT myGLCD(ITDB50,38,39,40,41);
to
// Remember to change the model parameter to suit your display module!
UTFT myGLCD(CTE70,38,39,40,41);