We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8c471f commit 403456cCopy full SHA for 403456c
letmecreate/click/co.py
@@ -13,7 +13,7 @@ def get_measure(mikrobus_index):
13
14
Note: An exception is thrown if it fails to communicate with the CO click.
15
"""
16
- value = ctypes.c_uint16_t(0)
+ value = ctypes.c_uint16(0)
17
ret = _LIB.co_click_get_measure(mikrobus_index, ctypes.byref(value))
18
if ret < 0:
19
raise Exception("co click read ppm failed")
0 commit comments