Skip to content

Fix add_text crash and add OLED placement example - #25

Merged
MeqdadDev merged 1 commit into
mainfrom
fix/oled-add-text
Nov 1, 2026
Merged

MeqdadDev merged 1 commit into
mainfrom
fix/oled-add-text

Conversation

@MeqdadDev

Copy link
Copy Markdown
Owner

ind was only set inside the loop, so empty or off-screen text raised a NameError, and the I2C write stopped one byte short of the last character. Example 2 shows how text is placed and clipped.

ind was only set inside the loop, so empty or off-screen text raised a NameError, and the I2C write stopped one byte short of the last character. Example 2 shows how text is placed and clipped.
@MeqdadDev
MeqdadDev merged commit 05c4845 into main Nov 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant