Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Replacing LCDs with full graphic screen displays

Flyback

Well-Known Member
Hi,
We need to replace a load of LCD displays with graphic screens as part of updating the various kit which is used to measure sensors etc etc.
We will have to alter the code in each instrument (which is written in C++) in order to accomodate these new screens.
(its just a "nicer" way for us to display the same data, compared to the LCD displays).

None of us has done C++ before, we have all only done bits of C code for test jigs, and these code bits were only about 30 or 40 lines of simple C code.

How long do you think it will take us to learn how to do this job in C++ considering we spend 12 hours per day learning it?
 
C++ is very little different, and is basically a superset of C, so if you're fairly familiar with C, then C++ is easy to move to. If you're spending 12 hours a day learning it, then it shouldn't take more than a day (if that).

Perhaps get an Arduino/, and have a play with that - as it uses C++.

However, if you're moving from normal Hitachi type LCD text modules the change to graphics modules is considerable, but nothing to do with C to C++ - bear in mind you can just write in C under C++.
 
Since none of you did C++ before, some many works are ahead. You have to understand the C++ basics first. Then you have to work with the graphics libraries, modify existing codes, then you have to text and debug. If you spend 12 hours a day, I think 6 weeks will be enough to complete the whole task.
 
Just go to the Arduino site where there is so much information, help and examples of so many such projects and code tutorials

You do not mention which family of tft screen you are looking at or what micros you are using, but many of both are covered by Arduino.

We find the SPI TFT / Touch screens much easier to use, less i/os needed and plenty of librarys from folk like Adafruit etc.
 
An alternative to the typical tft screens are the serial Nextion range which are programmable so saving valuable resources like memory and i/o of your micro, if that is a concern ?
They can give very clear and detailed displays, the trade off is price and learning another programming system.
https://nextion.tech/
 

Latest threads

New Articles From Microcontroller Tips

Back
Top