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
ff380c2558
micropython
/
stmhal
/
adc.h
3 lines
86 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: Big cleanup; merge gpio into Pin; make names consistent. This is an attempt to clean up the Micro Python API on the pyboard. Gpio functionality is now in the Pin object, which seems more natural. Constants for MODE and PULL are now in pyb.Pin. Names of some classes have been adjusted to conform to CamelCase. Other miscellaneous changes and clean up here and there.
2014-04-18 22:38:09 +01:00
extern
const
mp_obj_type_t
pyb_adc_all_type
;