Why Nostr? What is Njump?
2025-02-17 12:39:11

Polarie/Alby ❄️ on Nostr: The e-ink display now finally has text support! It can display text in 5 different ...

The e-ink display now finally has text support!

It can display text in 5 different fixed font sizes. It is possible to change the color of each character and also to change the font size in the middle of the text. The background color can also be changed. Generating the data for the bitmap fonts is quite tedious, and so far I've only created the character set for font size 16 (and 3 letters for font size 36). Currently, the character set consists of 103 characters, which you can see in the image below.

The text generator accepts a UTF-8 encoded character string and prints it centered in both axes on the screen (it is possible to move it off center with an offset). Since it uses UTF-8 encoded text, non-ASCII characters such as ÄÖÜ€ are also possible.

I've also built in rudimentary Bluetooth support and can already send text to the display via Bluetooth and it prints it :3

Since my own app doesn't exist yet, I use Nordic's app (nRF Connect) to connect to the display and send data to it, which works quite well

#electronics #diy



Author Public Key
npub1e666jycpurt8rq2w4ku9cmjvgmz2s576dfkxz8h8t53z3fnrurzsnruht7