feat(buttons): Allow calling buttons.read() without args
Allow calling buttons.read() without an argument. This is equivalent to
a mask with all bits set (that is, buttons.read(255)). Additionally,
add a check that the mask is within the limits (< 256).
Signed-off-by:
Rahix <rahix@rahix.de>
Loading
Please register or sign in to comment