From dd32f02cc3c5d23acd033fda83e968b1eff3d42f Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 11 Feb 2016 12:43:41 +0000 Subject: esp8266: Add basic I2C driver, with init and writeto methods. Tested and working with SSD1306 I2C display. --- esp8266/modpyb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'esp8266/modpyb.h') diff --git a/esp8266/modpyb.h b/esp8266/modpyb.h index 095bc019b8..e691805f98 100644 --- a/esp8266/modpyb.h +++ b/esp8266/modpyb.h @@ -1,6 +1,7 @@ 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; +extern const mp_obj_type_t pyb_i2c_type; typedef struct _pyb_pin_obj_t { mp_obj_base_t base; -- cgit v1.2.3