This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
Watch
1
Star
0
Fork
0
You've already forked micropython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c9fd6645b0
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 23: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 21:49:23 +04:00
MP_DECLARE_CONST_FUN_OBJ
(
pyb_ADC_all_obj
)
;
Reference in New Issue
Copy Permalink