This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
You've already forked circuitpython
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
07ddab529c
circuitpython
/
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 15:27:13 -04: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 13:49:23 -04:00
MP_DECLARE_CONST_FUN_OBJ
(
pyb_ADC_all_obj
)
;