This website requires JavaScript.
Explore
Help
Sign In
jebbatime
/
micropython
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
24a140a444
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 13:27:13 -06: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 11:49:23 -06:00
MP_DECLARE_CONST_FUN_OBJ
(
pyb_ADC_all_obj
)
;
Reference in a new issue
Copy permalink