i2c development
This commit is contained in:
@@ -7,3 +7,6 @@ print('LUX Meter ID = {}'.format(result))
|
|||||||
|
|
||||||
result = bus.read_word_data(0x10, 0x0c)
|
result = bus.read_word_data(0x10, 0x0c)
|
||||||
print('UV sensor ID = {}'.format(result))
|
print('UV sensor ID = {}'.format(result))
|
||||||
|
|
||||||
|
result = bus.read_word_data(0x39, 0xec)
|
||||||
|
print('UV sensor ID = {}'.format(result))
|
||||||
|
|||||||
Reference in New Issue
Block a user