Conversation
5a2da0c to
58823a7
Compare
|
Sorry for the force push to my fork. I wanted to squash the commits so your review would be cleaner. |
correct to pin used in other examples grammar fixes missed a const
58823a7 to
e5c928f
Compare
|
Hi, Thanks for the extra code. Your approach makes sense on the memory limited device. Cheers, |
|
Sure. Do you have any examples I can look at for what to flag or how you'd like it handled? I hadn't considered it being AVR-specific, but it indeed is. |
|
I think there's an |
|
Sorry for the wait. I ordered an ESP32 to test with since I found out there's some support for a PROGMEM concept there. If I can get that to work, I'll include it as a possibility too. |
|
Don't worry, we're not in a hurry :) |
Font storage in PROGMEM example.
I'm working on a project where memory is a premium, but still wanted to use the simple font you'd created. Thus, I moved the font to PROGMEM. I thought others might make use of it too and wanted to contrib something back to you.
I collapsed both draw functions into a single
drawPMem()function to make for less index juggling (the call topgm_read_byte_near()needs full indices). Yes, that makes for a deep nestedfor, but it was cleaner to read for noobs than the index juggling.Thanks for the library!