cosmic-pi-deprecated / cosmicpi-daq

Data acquisition package for reading data from an Arduino via USB serial on a Raspberry Pi
6 stars 3 forks source link

Enhanced serial read failure handling and moved it into usb_io class #20

Closed jlsalmon closed 8 years ago

jlsalmon commented 8 years ago

The program will now recover nicely if you yank out the USB cable and plug it back in again.

Also the main loop got reduced by 1 indentation level as a result of moving the logic to the usb_io class.

quixoft commented 8 years ago

Nice one, looks good