Click here to Skip to main content
15,558,292 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: Sound of the Week Pin
BernardIE531727-Aug-22 7:43
BernardIE531727-Aug-22 7:43 
GeneralRe: Sound of the Week Pin
David O'Neil26-Aug-22 3:29
professionalDavid O'Neil26-Aug-22 3:29 
GeneralRe: Sound of the Week Pin
Sander Rossel27-Aug-22 1:39
professionalSander Rossel27-Aug-22 1:39 
GeneralRe: Sound of the Week Pin
Ron Anders26-Aug-22 6:57
Ron Anders26-Aug-22 6:57 
GeneralRe: Sound of the Week Pin
Sander Rossel27-Aug-22 1:36
professionalSander Rossel27-Aug-22 1:36 
GeneralRe: Sound of the Week Pin
Nelek26-Aug-22 11:38
protectorNelek26-Aug-22 11:38 
GeneralRe: Sound of the Week Pin
Sander Rossel27-Aug-22 2:09
professionalSander Rossel27-Aug-22 2:09 
GeneralRawr! I love bit banging Pin
honey the codewitch25-Aug-22 20:39
mvahoney the codewitch25-Aug-22 20:39 
There's little more satisfying than spelunking through a little MCU's hardware registers to try to eek some more performance out of its I/O. DMA, hardware SPI, SDMMC, here there be dragons.

Every new platform is like unwrapping a new toy. Downside is my code is getting uglier and uglier as it supports more and more platforms, with little I can do about it.

When it comes to driving LCD displays, one thing I did though was this. I decoupled the graphics driver itself, from the bus it uses, and both of those from the graphics library.

library-->driver-->bus

like that.

So now, I improve the bus, say optimizing it to use the Teensy's DMA capabilities and blammo all of my drivers benefit.

My code is unique in terms of IoT graphics libraries in that way.

The bottom line is a little mess goes a long way and improves performance for all my driver code across the board.

I've done it for the ESP32, and in part for the Teensy 4.x so far - the latter is a work in progress.

It's deeply satisfying to cover that much ground by modifying one header file.

And to do so by going back to the kind of coding I grew up with - smashing things up until i get to the wiring in the walls, figure out how it works, and tap right into the mains.

It's delicious.
To err is human. Fortune favors the monsters.

GeneralRe: Rawr! I love bit banging Pin
Calin Negru25-Aug-22 22:48
Calin Negru25-Aug-22 22:48 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch26-Aug-22 3:01
mvahoney the codewitch26-Aug-22 3:01 
GeneralRe: Rawr! I love bit banging Pin
Calin Negru26-Aug-22 4:06
Calin Negru26-Aug-22 4:06 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch26-Aug-22 4:17
mvahoney the codewitch26-Aug-22 4:17 
GeneralRe: Rawr! I love bit banging Pin
Calin Negru26-Aug-22 4:51
Calin Negru26-Aug-22 4:51 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch26-Aug-22 4:54
mvahoney the codewitch26-Aug-22 4:54 
GeneralRe: Rawr! I love bit banging Pin
Calin Negru26-Aug-22 11:01
Calin Negru26-Aug-22 11:01 
JokeRe: Rawr! I love bit banging Pin
FreedMalloc26-Aug-22 19:31
mveFreedMalloc26-Aug-22 19:31 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch27-Aug-22 1:21
mvahoney the codewitch27-Aug-22 1:21 
GeneralRe: Rawr! I love bit banging Pin
Fueled By Decaff26-Aug-22 6:40
Fueled By Decaff26-Aug-22 6:40 
GeneralRe: Rawr! I love bit banging Pin
dan!sh 25-Aug-22 22:38
professional dan!sh 25-Aug-22 22:38 
GeneralRe: Rawr! I love bit banging Pin
glennPattonWork326-Aug-22 3:05
professionalglennPattonWork326-Aug-22 3:05 
GeneralRe: Rawr! I love bit banging Pin
Brisingr Aerowing26-Aug-22 13:47
professionalBrisingr Aerowing26-Aug-22 13:47 
GeneralRe: Rawr! I love bit banging Pin
jmaida26-Aug-22 14:08
jmaida26-Aug-22 14:08 
GeneralRe: Rawr! I love bit banging Pin
englebart27-Aug-22 17:33
professionalenglebart27-Aug-22 17:33 
GeneralRe: Rawr! I love bit banging Pin
grralph129-Aug-22 0:05
grralph129-Aug-22 0:05 
JokeSome people say I have a habit of giving up Pin
PIEBALDconsult25-Aug-22 11:09
professionalPIEBALDconsult25-Aug-22 11:09 

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.