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
0ae9c7042a
micropython
/
stmhal
/
adc.h
4 lines
85 B
C
Raw
Normal View
History
Unescape
Escape
stmhal: Make pyb.ADC the ADC class (not a function).
2014-03-24 19:27:13 +00:00
extern
const
mp_obj_type_t
pyb_adc_type
;
stmhal - fixed up adc stuff Added support for the ADC channels and mappings to make_pins.py I'm not sure if the hal properly deals with the channel 16/18 differences between the 40x and 42x. It seems to deal with it partially. This particular aspect will need testing on a 42x or 43x.
2014-03-24 17:49:23 +00:00
MP_DECLARE_CONST_FUN_OBJ
(
pyb_ADC_all_obj
)
;