argon1
argon1 copied to clipboard
Check for smbus loading issues
If the i2c kernel modules are not loaded or the user does not have the correct permissions the smbus.SMBus() call will fail. Wrap the call in try/except to catch this.
Fixes: #7
Signed-off-by: Patrick Talbert [email protected]