labjack / LabJackPython

The official Python modules and classes for interacting with the LabJack U3, U6, UE9 and U12
https://labjack.com/support/software/examples/ud/labjackpython
MIT License
117 stars 79 forks source link

Show a friendlier error when SPIMode is invalid #82

Closed mnaberez closed 9 years ago

mnaberez commented 9 years ago

Remove public SPIModes, which is used only for validation and is not part of the API.

Add a friendlier error message if the SPIMode kwarg is invalid.