de8b585ab7
This is the standard way of doing things, one should construct a peripheral object (even if it's a singleton). See issue #1330.
4 lines
123 B
C
4 lines
123 B
C
extern const mp_obj_type_t pyb_pin_type;
|
|
extern const mp_obj_type_t pyb_adc_type;
|
|
extern const mp_obj_type_t pyb_rtc_type;
|