Skip to content

Clear framebuffer and reset cursor before drawing in field/Midi - #319

Open
atommarvel wants to merge 1 commit into
daisyaudio:masterfrom
atommarvel:fix/field-midi-oled-init
Open

atommarvel wants to merge 1 commit into
daisyaudio:masterfrom
atommarvel:fix/field-midi-oled-init

Conversation

@atommarvel

@atommarvel atommarvel commented Nov 19, 2026 •

Copy link
Copy Markdown

NOTICE

This is one of two PRs that provide a fix for #318
Beyond this section, this PR's body and the code changes were generated by Google Gemini from a conversation I had with it to get examples running on a Daisy Field + Seed3 seated in it. My day job is Android development so I currently don't have the knowledge to vet these changes deeply. The testing section of this PR body is true though, I did validate all daisy field examples worked with both seed3 and seed2.

Summary

field/Midi/Midi.cpp calls hw.display.WriteString("Midi", Font_7x10, true); hw.display.Update(); on startup without clearing the framebuffer
(Fill(false)) or setting the cursor position (SetCursor(0, 0)). This adds both calls prior to WriteString.

(Companion libDaisy fix: daisyaudio/libDaisy#732)

Testing

  • Tested all field examples on a Daisy Field with both Daisy Seed3 and Daisy Seed2 — OLED static is gone and examples behaved as expected.

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