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.
Why? you already know that
a) Every other Windows version has to be skipped. XP good, Vista goof, 7 good, 8 goof, 10 good-ish, 11... goof.
b) Every software should be let simmer at least 6 months before being breaten into functionality. Even during the times of updates shipped by CD there were situation like these, see Windows 98 2nd Edition (AKA 'I said standby, not crash and die') and Windows 95 OSR2.
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
I've spent two (three?) elephanting days trying to write code to communicate with a TFT display over an 8 bit parallel bus and have gotten absolutely nowhere.
I even have a reference implementation someone else wrote that works that I've been following.
I went as far as to log every time a pin went high and low, and compared the output of theirs with mine, and am not seeing any significant differences.
I'm completely flummoxed. This is some nonsense. I rarely have this much difficulty with code.
The problem is there's no decent debugger, so everything has to be logged, but it's time sensitive too (i think). Then there's the fact that I have a layer to do the 8-bit bus I/O (software bit banging the pins on and off) and then built on top of that are the actual display drivers, and the trouble is there's just a lot of complicated code that all has to work right before you get *anything* to show up on the display.
I'm just airing this because sometimes putting a problem out in the world makes a solution come to me.
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.
Real programmers use butterflies
Last Visit: 31-Dec-99 18:00 Last Update: 9-Aug-22 17:10