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
Not sure if there's any interest in maintaining this still, but if there is... when you initialize a pin to an output with default value of 1, the pin gets set to a default value of 0 first briefly. The fix is to write either high or low to the direction sysfs file instead of out, which simultaneously sets it to an output and writes the default value.
For anyone who finds this issue before any fix is actually implemented, here's a workaround:
Not sure if there's any interest in maintaining this still, but if there is... when you initialize a pin to an output with default value of 1, the pin gets set to a default value of 0 first briefly. The fix is to write either
high
orlow
to thedirection
sysfs file instead ofout
, which simultaneously sets it to an output and writes the default value.For anyone who finds this issue before any fix is actually implemented, here's a workaround:
The text was updated successfully, but these errors were encountered: