summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpyb.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-04-06 19:45:52 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-04-06 19:45:52 +0300
commit1a0a323ca8daadb30e5ed3d58bc7e8e8e5a95629 (patch)
tree815cec1c3073430a7a630e82017271ccda4c8dbd /esp8266/modpyb.h
parent4e51a3038c307a2b02b94bb0c78cff949ef84fd1 (diff)
downloadmicropython-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.h1
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;