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
Hello,
Thanks for the great project.
I currently initialize all pins to PinMode.INPUT - but would dynamically light to change the mode depending on need to PinMode.OUTPUT.
I get com.pi4j.io.gpio.exception.InvalidPinModeException: Invalid pin mode on pin [GPIO 13]; cannot setState() when pin mode is [input]
Is there a way to do this? By perhaps deprovisioning and re-provisioning ?
Hello,
Thanks for the great project.
I currently initialize all pins to PinMode.INPUT - but would dynamically light to change the mode depending on need to PinMode.OUTPUT.
I get
com.pi4j.io.gpio.exception.InvalidPinModeException: Invalid pin mode on pin [GPIO 13]; cannot setState() when pin mode is [input]Is there a way to do this? By perhaps deprovisioning and re-provisioning ?
Thanks kindly.