Review the “mystery” code. Make sure you understand how bitRead(...)
, bitWrite(...)
, bitClear(...)
and bitSet(...)
and bit(...)
works and how bitRead(...)
is used to determine the output of each LED.
DebounceDemo
extend the program to do the following:
DebounceDemo
create a program to do the following: