This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
227998f9cd
circuitpython
/
drivers
/
dht
/
dht.h
4 lines
67 B
C
Raw
Normal View
History
Unescape
Escape
drivers: Add C-level function to read DHT11 and DHT22 devices. Uses mp_hal_pin API.
2016-05-26 12:10:06 -04:00
#
include
"py/obj.h"
py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. In order to have more fine-grained control over how builtin functions are constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific, with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW. These names now match the MP_DEFINE_CONST_FUN_OBJ macros.
2016-10-17 20:06:20 -04:00
MP_DECLARE_CONST_FUN_OBJ_2
(
dht_readinto_obj
)
;
Reference in New Issue
Copy Permalink