added SMBus Lux meter support

This commit is contained in:
d3m1g0d
2019-03-02 14:24:50 +01:00
parent b4b301d6db
commit e54a31e56f
2 changed files with 85 additions and 13 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ result = bus.read_word_data(0x10, 0x0c)
print('UV sensor ID = {}'.format(result))
result = bus.read_word_data(0x39, 0xec)
print('UV sensor ID = {}'.format(result))
print('LUX chan 0 = {}'.format(result))