How would I go about resetting GPIO's when my application is stopped? Right now when I stop a running application, or when codesys shuts down it just leaves my GPIO's in whatever state they were last in... I know in python I would just call a gpio clear, but I am not sure how to do this in codesys.
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How would I go about resetting GPIO's when my application is stopped? Right now when I stop a running application, or when codesys shuts down it just leaves my GPIO's in whatever state they were last in... I know in python I would just call a gpio clear, but I am not sure how to do this in codesys.
Thanks in advance.
how about this ?
wollvieh.
Looks promising, I will give it a try.