fixed PeripheralAccess::value()
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.
parent
27023116
Please register or sign in to comment