<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 5, 2021 at 8:29 AM Thu Nguyen <<a href="mailto:thu@amperemail.onmicrosoft.com">thu@amperemail.onmicrosoft.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
<br>
Current I'm using two difference GPIO libs gpiod and gpioplus to setting <br>
GPIO pins.<br>
<br>
I can set the GPIO pin to expected value in a service. And GPIO keep <br>
unchanging when the service is running.<br>
<br>
But when the service is exited, the GPIO handler is released then GPIO <br>
is reset to default value.<br></blockquote><div><br></div><div>Can you make service "run always". systemd service allows this. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
Do we have any gpio lib which don't reset the GPIO when the handler is <br>
released?<br>
<br>
<br>
Thanks.<br>
<br>
Thu Nguyen.<br>
<br>
</blockquote></div></div>