Skip to content

HS01: run the OLED I2C at stock speed, re-enable slide animations - #2260

Open
LogON wants to merge 1 commit into
Ralim:devfrom
LogON:hs01-i2c-speed
Open

LogON wants to merge 1 commit into
Ralim:devfrom
LogON:hs01-i2c-speed

Conversation

@LogON

@LogON LogON commented Nov 16, 2026

Copy link
Copy Markdown
  • Please check if the PR fulfills these requirements
  • The changes have been tested locally
  • There are no breaking changes known (if there are, detail these at the end)
  • What kind of change does this PR introduce?

Bug fix

  • What is the current behaviour?

Laggy interface and missed button presses on HS-01.

  • What is the new behaviour (if this is a feature change)?

See #2251 (comment)

  • Other information:

@radosek as discussed in #2251, could you test it on your iron too? Tested on one HS-01 so far.

  • An LLM (AI) was used for some of this code

The whole diff was made with Claude; I tested it on the hardware.

  • An LLM was used, and I have manually audited the code. I understand what changes it made and why.

The bit-banged I2C spent ~200 instructions per bit in an out-of-line delay,
about 15x slower than the stock firmware. Every frame took long enough that
the GUI was sluggish and short button presses were missed, since the buttons
are polled once per GUI frame.

Use the stock edge timing with 3 NOPs of margin. With the faster bus the slide
animations are smooth, so OLED_TRANSITIONS_INSTANT is no longer needed.

This branch has not been deployed

No deployments
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