-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
For some reason, it seems the ATmega328P sometimes needs some extra delay between commands. I don't fully understand why this is, but if you send multiple commands immediately, it seems to fail to send an ACK sometimes. Maybe this can be fixed with a firmware update, maybe not. But at least for now, there is a workaround that seems to work, which is to put delays between all I2C commands
I tested a 1ms delay between setCursor()
and print()
which seemed to work fine. So 1ms may be sufficient everywhere, but should check to see if any other functions require longer delays.
Should also see if these delays can be reduced: https://github.com/search?q=repo%3Asparkfun%2Fqwiic_serlcd_py+time.sleep+path%3Aqwiic_serlcd.py&type=code
Metadata
Metadata
Assignees
Labels
No labels