Better HN
topnewbestaskshowjobs
Log inSign up

lizzylot

3 karma · joined Jan 29, 2026 (10mo ago) · 3 submissions

Submissions

comment 10mo ago · link · parent

Climate change is a global problem. Fossil fuels burned in Norway or somewhere contributes the same amount of CO2. It's kinda like shipping your plastic trash to another country and have them dumping it into the ocean and going "look how clean we are, 0 plastic trash!"

comment 10mo ago · link · parent

For simple SPI displays it's the transfer bandwidth that dominates, so for best performance you wanna minimize the number of pixels you need to send. So for eaxmple: if you wanna draw a 100 pixel long horizontal line, if you ever send more than 100 pixels of data you're not gonna hit the speed of light. And if you wanna draw an angled line you're gonna have to do something like bresenham and pixel by pixel because drawing NxN blocks for a 45 degree line would be insane.

comment 10mo ago · link · parent

Without DMA you need to insert a lot of wasted cycles to wait between each SPI transfer, so it doesn't take that many bytes to make it worth it. I use variable width fonts on 16bit rgb565 displays and DMA doubles the speed of drawing text with ~20 bytes/characters.