This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d91c1170ca
micropython
/
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 17:10:06 +01: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-18 01:06:20 +01:00
MP_DECLARE_CONST_FUN_OBJ_2
(
dht_readinto_obj
)
;