baryluk / fnirsi-usb-power-data-logger

Driver / Data logger for FNIRSI FNB48, FNIRSI C1 and FNIRSI FNB58 USB Power meter
MIT License
141 stars 14 forks source link

Structure code and bug fix #14

Closed luismeruje closed 10 months ago

luismeruje commented 10 months ago

Separated code into functions.\n Added configuration file to enable/disable crc check, which does not work for all devices (left it disabled by default).\n The program now exhausts all reads before exiting the program when a Keyboard Interrupt occurs.\n This changes help with issues #12 and #7.