Hello everyone !
I slowly lean into the programming of an overhead created with arduinos and air manager. I'm stuck on my ON-OFF-ON switches right now because I can't find the most concise way to program them in my script.
I have for example two pins (D9 and D10) which correspond to the high and low positions. The intermediate position being connected only to the mass. What is the most concise method of handling an order by position? I started out on a 2-position switch and a 1-position switch, but that seems to make the code quite chatty and conflicting.
Or test something with digital-input but I can't manage to do a single function for all my switch.
Ideas ?
Thanks in advance !
ON-OFF-ON Switch
Re: ON-OFF-ON Switch
Has already been discussed a few times here on the forums. If you search then you'll find the explanation.
- BradyBrother100
- Posts: 54
- Joined: Tue Oct 13, 2020 4:21 pm
- Location: United States MDT
Re: ON-OFF-ON Switch
Hi,
In AM 4.1, there will be support for that in the form of hw_input_add.
https://siminnovations.com/forums/viewt ... 436#p35437
In AM 4.1, there will be support for that in the form of hw_input_add.
https://siminnovations.com/forums/viewt ... 436#p35437