Fixed button check code
Fixed button check code
Updated to reflect changes in the cpp
Updated button code to accept chars instead of bytes
Updated to reflect changes in the cpp