Hi, I've recently started with a project that includes a DIP-Switch. The idea is that the switch should determine a DMX address.
Can't find anywhere how it "should" be done so I assumed that if a feed all the switches +5v and give them separate inputs where I write something like:
If pin1 = HIGH then result1 is ex 1. Else result1 is 0.
If I do this to all inputs I should end up with result1,2,3 etc that I could add up to get my DMX address. Correct?
The problem as you see is my lack of coding skills, If anyone could point me towards the right tutorials or writing code for one of the inputs I could work from that.