Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4824

General • Re: ssd1306_i2c example doesn't display anything unless I hit reset

$
0
0
Adding a sleep_ms(200); on line 318 (just before the i2c pins get configured and the display initialization commands get sent) did the trick. If this were a non-toy example I'd probably look into checking CHIP_RESET to see if the code needs to sleep, but this is a toy example.

Thanks for your help!

Statistics: Posted by inklesspen — Tue Aug 13, 2024 6:03 pm



Viewing all articles
Browse latest Browse all 4824

Trending Articles