added SMBus Lux meter support

This commit is contained in:
d3m1g0d committed 2019-03-02 14:24:50 +01:00
1 parent b4b301d6db
commit e54a31e56f
2 files changed
+85 -13

No files matched your search

+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))