Click here to Skip to main content
15,887,175 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 6:43
BernardIE531727-Aug-22 6:43 
GeneralRe: Sound of the Week Pin
David O'Neil26-Aug-22 2:29
professionalDavid O'Neil26-Aug-22 2:29 
GeneralRe: Sound of the Week Pin
Sander Rossel27-Aug-22 0:39
professionalSander Rossel27-Aug-22 0:39 
GeneralRe: Sound of the Week Pin
Ron Anders26-Aug-22 5:57
Ron Anders26-Aug-22 5:57 
GeneralRe: Sound of the Week Pin
Sander Rossel27-Aug-22 0:36
professionalSander Rossel27-Aug-22 0:36 
GeneralRe: Sound of the Week Pin
Nelek26-Aug-22 10:38
protectorNelek26-Aug-22 10:38 
GeneralRe: Sound of the Week Pin
Sander Rossel27-Aug-22 1:09
professionalSander Rossel27-Aug-22 1:09 
GeneralRawr! I love bit banging Pin
honey the codewitch25-Aug-22 19:39
mvahoney the codewitch25-Aug-22 19: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 21:48
Calin Negru25-Aug-22 21:48 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch26-Aug-22 2:01
mvahoney the codewitch26-Aug-22 2:01 
GeneralRe: Rawr! I love bit banging Pin
Calin Negru26-Aug-22 3:06
Calin Negru26-Aug-22 3:06 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch26-Aug-22 3:17
mvahoney the codewitch26-Aug-22 3:17 
GeneralRe: Rawr! I love bit banging Pin
Calin Negru26-Aug-22 3:51
Calin Negru26-Aug-22 3:51 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch26-Aug-22 3:54
mvahoney the codewitch26-Aug-22 3:54 
GeneralRe: Rawr! I love bit banging Pin
Calin Negru26-Aug-22 10:01
Calin Negru26-Aug-22 10:01 
JokeRe: Rawr! I love bit banging Pin
FreedMalloc26-Aug-22 18:31
FreedMalloc26-Aug-22 18:31 
GeneralRe: Rawr! I love bit banging Pin
honey the codewitch27-Aug-22 0:21
mvahoney the codewitch27-Aug-22 0:21 
GeneralRe: Rawr! I love bit banging Pin
Fueled By Decaff26-Aug-22 5:40
Fueled By Decaff26-Aug-22 5:40 
GeneralRe: Rawr! I love bit banging Pin
dan!sh 25-Aug-22 21:38
professional dan!sh 25-Aug-22 21:38 
GeneralRe: Rawr! I love bit banging Pin
glennPattonWork326-Aug-22 2:05
professionalglennPattonWork326-Aug-22 2:05 
GeneralRe: Rawr! I love bit banging Pin
Brisingr Aerowing26-Aug-22 12:47
professionalBrisingr Aerowing26-Aug-22 12:47 
GeneralRe: Rawr! I love bit banging Pin
jmaida26-Aug-22 13:08
jmaida26-Aug-22 13:08 
GeneralRe: Rawr! I love bit banging Pin
englebart27-Aug-22 16:33
professionalenglebart27-Aug-22 16:33 
GeneralRe: Rawr! I love bit banging Pin
grralph128-Aug-22 23:05
grralph128-Aug-22 23:05 
JokeSome people say I have a habit of giving up Pin
PIEBALDconsult25-Aug-22 10:09
mvePIEBALDconsult25-Aug-22 10: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.