Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the expected refreshrate for I2C OLED screens? #153

Open
iamisti opened this issue Nov 28, 2022 · 1 comment
Open

What is the expected refreshrate for I2C OLED screens? #153

iamisti opened this issue Nov 28, 2022 · 1 comment

Comments

@iamisti
Copy link

iamisti commented Nov 28, 2022

I'm getting the similar effect as the mentioned "SPI screens" slowness on a I2C OLED screen.
I have a small 128x64 OLED screen, but the refresh rate is very very poor. You can even see when the screen refreshes to the newest value.

Also I found a bug with oled.writeString method. Something is not properly implemented, because if I call the method 10-20 times in a second, I get an error:

(node:17852) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 201 I2C-reply-60-0 listeners added to [Firmata]. Use emitter.setMaxListeners() to increase limit

Questions here:

  • what is the expected rate of update we can achieve
  • why do I get the error (is it a bug?)
  • if the update is limited and takes time to execute, wouldn't it be wise to return with a promise, so we can call the next update when the previous screen update finished? There is no way of knowing at the moment when the update has finished
@mind0bender
Copy link

I am facing this Error while making a clock.
Is there a way to fix this?

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

No branches or pull requests

2 participants