Add boot.py and increase timeout values

This commit is contained in:
Melissa LeBlanc-Williams 2021-08-09 08:46:19 -07:00
parent bc61f46e8b
commit 721c9936b9
2 changed files with 5 additions and 2 deletions

View file

@ -0,0 +1,3 @@
import usb_cdc
usb_cdc.enable(console=True, data=True)

View file

@ -15,8 +15,8 @@ except ImportError:
import usb_cdc as serial
json_decode_exception = ValueError
RESPONSE_TIMEOUT=1
DATA_TIMEOUT=0.2
RESPONSE_TIMEOUT=5
DATA_TIMEOUT=0.5
class RpcError(Exception):
"""For RPC Specific Errors"""