Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

How to use IoPin

2 posters

Go down  Message [Page 1 of 1]

1How to use IoPin Empty How to use IoPin Sun Nov 20, 2022 11:54 pm

feri



changeCallBack( this, true ); voltChanged() activation
changeCallBack( this, false ); voltChanged() deactivation
setOutState( true/false ); Set Output to Hight or Low
sheduleState( true/false, 0 ); what is it for

thank you
Greetings

2How to use IoPin Empty Re: How to use IoPin Mon Nov 21, 2022 10:20 am

arcachofo

arcachofo

setOutState( true/false ); To set Pin state immediately.
Note that in this case, if the rising slope is activated it will not work.
So this function should not be called directly unless there is a reason for it.

sheduleState( true/false, time ); To set Pin state at a certain time in the future.
In general this should be used even to set the state immediately.

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum