circuitpython/esp8266/modpyb.h
2016-03-05 21:36:32 +02:00

8 lines
220 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;
uint mp_obj_get_pin(mp_obj_t pin_in);
int pin_get(uint pin);
void pin_set(uint pin, int value);