Click here to Skip to main content
15,392,679 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: I dont know how to count that low! Pin
5teveH7-Dec-21 21:11
Member5teveH7-Dec-21 21:11 
GeneralCoding vent post Pin
honey the codewitch7-Dec-21 14:39
mvahoney the codewitch7-Dec-21 14:39 
GeneralRe: Coding vent post Pin
Ron Anders7-Dec-21 14:55
MemberRon Anders7-Dec-21 14:55 
GeneralRe: Coding vent post Pin
honey the codewitch7-Dec-21 14:56
mvahoney the codewitch7-Dec-21 14:56 
GeneralRe: Coding vent post Pin
Mircea Neacsu7-Dec-21 15:32
mvaMircea Neacsu7-Dec-21 15:32 
GeneralRe: Coding vent post Pin
honey the codewitch7-Dec-21 15:41
mvahoney the codewitch7-Dec-21 15:41 
GeneralRe: Coding vent post Pin
Rick York7-Dec-21 15:11
mveRick York7-Dec-21 15:11 
GeneralRe: Coding vent post Pin
honey the codewitch7-Dec-21 15:17
mvahoney the codewitch7-Dec-21 15:17 
Yes, I have.

I want to clone but, it's written significantly different than mine.

It relies very heavily on the preprocessor, and uses static variables such that you can't actually use that code to control multiple screens on a single device.

Despite it being a class (TFT_eSPI), it just delegates to "global" (static) members defined in CPP source files.

I don't want my code to operate like that for a number reasons, not the least of which is that my codebase is already in use and I don't want to dramatically change the behavior of existing driver code, even as I add new drivers and improve the performance of the old ones.

Edited to add: I've been trying to think of a way to do it incrementally without completely breaking encapsulation but so far ... wait I may have just come up with an idea. Big Grin | :-D
Real programmers use butterflies

GeneralRe: Coding vent post Pin
OriginalGriff7-Dec-21 19:51
mveOriginalGriff7-Dec-21 19:51 
GeneralRe: Coding vent post Pin
ElectronProgrammer8-Dec-21 0:59
MemberElectronProgrammer8-Dec-21 0:59 
GeneralRe: Coding vent post Pin
lmoelleb7-Dec-21 20:48
Memberlmoelleb7-Dec-21 20:48 
GeneralRe: Coding vent post Pin
Maximilien8-Dec-21 1:19
MemberMaximilien8-Dec-21 1:19 
GeneralRe: Coding vent post Pin
Daniel Pfeffer8-Dec-21 1:36
professionalDaniel Pfeffer8-Dec-21 1:36 
GeneralRe: Coding vent post Pin
jeron18-Dec-21 3:53
Memberjeron18-Dec-21 3:53 
GeneralRe: Coding vent post Pin
honey the codewitch8-Dec-21 4:02
mvahoney the codewitch8-Dec-21 4:02 
GeneralRe: Coding vent post Pin
jeron18-Dec-21 4:23
Memberjeron18-Dec-21 4:23 
GeneralRe: Coding vent post Pin
honey the codewitch8-Dec-21 4:33
mvahoney the codewitch8-Dec-21 4:33 
GeneralRe: Coding vent post Pin
jeron18-Dec-21 4:47
Memberjeron18-Dec-21 4:47 
GeneralRe: Coding vent post Pin
honey the codewitch8-Dec-21 5:23
mvahoney the codewitch8-Dec-21 5:23 
GeneralRe: Coding vent post Pin
jeron18-Dec-21 5:28
Memberjeron18-Dec-21 5:28 
Generalmy first source code generator, yea!.. and a question Pin
Super Lloyd7-Dec-21 13:06
MemberSuper Lloyd7-Dec-21 13:06 
GeneralRe: my first source code generator, yea!.. and a question Pin
honey the codewitch7-Dec-21 14:32
mvahoney the codewitch7-Dec-21 14:32 
GeneralRe: my first source code generator, yea!.. and a question Pin
Super Lloyd7-Dec-21 15:43
MemberSuper Lloyd7-Dec-21 15:43 
GeneralRe: my first source code generator, yea!.. and a question Pin
honey the codewitch7-Dec-21 15:53
mvahoney the codewitch7-Dec-21 15:53 
GeneralRe: my first source code generator, yea!.. and a question Pin
Super Lloyd7-Dec-21 16:01
MemberSuper Lloyd7-Dec-21 16:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Do you feel you fully understand the vision and purpose of the software project you're working on?
Sure you can be told the "what", but do you have the "why"?
  Results   239 votes