lijon / BafangWebConfig

Web based configuration tool for Bafang BBSxx e-bike motors
MIT License
48 stars 14 forks source link

Better error checking and value ranges etc #5

Closed lijon closed 3 years ago

lijon commented 3 years ago

Currently any value above 255 will wrap around to 0 (since it's 8-bit values) without notice or error. There might also be other input-related errors that should be catched, if someone reads a malformed input file etc.