For anyone that ever comes across this with the same problems. digitalRead(pins[i]) == HIGH. I was trying to write it as. PINB == (1 << i).
確定! 回上一頁