Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
BTW, what is the best way to post a bunch of code here? I think there is something with using ` but seems I always get it wrong.
Why are you using analog signal to read a digital input, you could use ” INPUTPULLUP” or “pulldown” functions and read values only where it’s near 0/1 this makes a lot better preformence
Because I am reading two buttons on each pin. I am using an ATtiny85 and my IO is very limited.
CONTRIBUTE TO THIS THREAD