Modified serialmanager.py to accept chars of 0 and 1.