Value returned over serial line should already be 0 or 1.
Add support for shiftIn and shiftOut commands.