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!
Thanks for your help!
Statistics: Posted by inklesspen — Tue Aug 13, 2024 6:03 pm