Skip to content

panel safety and robustness fixes - #3

Merged
anders94 merged 1 commit into
mainfrom
fix-general-cleanup
Aug 2, 2026
Merged

panel safety and robustness fixes#3
anders94 merged 1 commit into
mainfrom
fix-general-cleanup

Conversation

@anders94

@anders94 anders94 commented Aug 2, 2026

Copy link
Copy Markdown
Owner
  • cleanup() puts the panel into deep sleep before cutting power; correct UC-family sleep sequences for 7in5 (0x02 -> 0x07 0xA5) and 7in3f (0x07 0xA5)
  • waitUntilIdle() throws on timeout (busyTimeoutMs option) instead of warning and continuing
  • display() rejects concurrent calls to prevent interleaved SPI writes
  • loadPNG() enforces a pixel cap (maxImagePixels option) and uses Uint8Array
  • remove vestigial csPin; chip select is the SPI controller's CE line
  • ignore *.tgz

  - cleanup() puts the panel into deep sleep before cutting power; correct
    UC-family sleep sequences for 7in5 (0x02 -> 0x07 0xA5) and 7in3f (0x07 0xA5)
  - waitUntilIdle() throws on timeout (busyTimeoutMs option) instead of
    warning and continuing
  - display() rejects concurrent calls to prevent interleaved SPI writes
  - loadPNG() enforces a pixel cap (maxImagePixels option) and uses Uint8Array
  - remove vestigial csPin; chip select is the SPI controller's CE line
  - ignore *.tgz
@anders94
anders94 merged commit fbd8aa4 into main Aug 2, 2026
3 checks passed
@anders94
anders94 deleted the fix-general-cleanup branch August 2, 2026 11:38
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