You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a new interface is created with PGPIO8BitInterface::new() the function assumes that all the pins are set to low beforehand. If that's not the case, the driver will start in an unexpected state because last is set to 0.
We should either drive the entire bus low on new(), or at least add this to the documentation. I would personally incline towards driving the pins low on initialization to ensure that the driver will work correctly even if the user fails to read one sentence in the documentation.
The text was updated successfully, but these errors were encountered:
andresovela
changed the title
Parallel GPIO 8-bit interface does not work if the data bus pins are not zero
Parallel GPIO 8-bit interface does not work if the data bus pins are not zero on init
Feb 23, 2021
When a new interface is created with
PGPIO8BitInterface::new()
the function assumes that all the pins are set to low beforehand. If that's not the case, the driver will start in an unexpected state becauselast
is set to 0.We should either drive the entire bus low on
new()
, or at least add this to the documentation. I would personally incline towards driving the pins low on initialization to ensure that the driver will work correctly even if the user fails to read one sentence in the documentation.The text was updated successfully, but these errors were encountered: