diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-06 19:45:52 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-06 19:45:52 +0300 |
commit | 1a0a323ca8daadb30e5ed3d58bc7e8e8e5a95629 (patch) | |
tree | 815cec1c3073430a7a630e82017271ccda4c8dbd /esp8266/modpyb.h | |
parent | 4e51a3038c307a2b02b94bb0c78cff949ef84fd1 (diff) | |
download | micropython-1a0a323ca8daadb30e5ed3d58bc7e8e8e5a95629.tar.gz micropython-1a0a323ca8daadb30e5ed3d58bc7e8e8e5a95629.zip |
esp8266: Add initial implementation of machine.UART.
Currently UART(0) and UART(1) are exposed and only uart.write works.
Diffstat (limited to 'esp8266/modpyb.h')
-rw-r--r-- | esp8266/modpyb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h index 51f5b0a672..3ac9f2f15f 100644 --- a/esp8266/modpyb.h +++ b/esp8266/modpyb.h @@ -2,6 +2,7 @@ extern const mp_obj_type_t pyb_pin_type; extern const mp_obj_type_t pyb_pwm_type; extern const mp_obj_type_t pyb_adc_type; extern const mp_obj_type_t pyb_rtc_type; +extern const mp_obj_type_t pyb_uart_type; extern const mp_obj_type_t pyb_i2c_type; extern const mp_obj_type_t pyb_spi_type; |