GPIO pin state reset when script terminates

ErezFL
ErezFL New Member Posts: 2

I was using Rpi before and changed to Up.
Using the patched Linux to enable GPIO pin set\get.

Using the same python scripts I was using on Rpi
I can change and set the right pin state to high\low.

However, on the UP when the script terminates the pin state ALWAYS resets,
meaning while on Rpi I could change the pin state to high and
it remained in this state until explicitly changed even when the script terminated.

Can you please advice what needs to be changed\configured for so the pin state
would not reset when the script terminates ?

Thank you :-)

Comments

Privacy Policy