The lack of & 1 caused using pins other than the highest numbered one
as an input to not work correctly due to misinterpreting garbage bits as
setting the pin in the high state. &ing with 1 solves this problem
by zeroing out bits that should be ignored.
The lack of
& 1
caused using pins other than the highest numbered one as an input to not work correctly due to misinterpreting garbage bits as setting the pin in the high state.&
ing with1
solves this problem by zeroing out bits that should be ignored.