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

Teensy I2c speed #201

Open
fimtrey opened this issue Jan 27, 2021 · 1 comment
Open

Teensy I2c speed #201

fimtrey opened this issue Jan 27, 2021 · 1 comment

Comments

@fimtrey
Copy link

fimtrey commented Jan 27, 2021

Hi,

I'm using a Teensy LC. With each flush, the image was shifted by one pixel.

I finally realised that the teensy wasn't happy about switching the I2c clock all the time.
So I got it running with specifying the clocks in the constructor:
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1, 400000UL, 400000UL);

In #107 @PaulStoffregen proposed to use 400 kHz teensy for all Teensys. Is there a good place to notify further users or implement a default clock speed for teensy.

@ladyada
Copy link
Member

ladyada commented Jan 27, 2021

you could add a PR to the example for teensy's

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