diff options
author | Damien George <damien.p.george@gmail.com> | 2016-02-11 12:43:41 +0000 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-03-24 11:17:17 +0200 |
commit | dd32f02cc3c5d23acd033fda83e968b1eff3d42f (patch) | |
tree | e7c3fbce4b7b397f12b82fd2044059b1a642c4f4 /esp8266/qstrdefsport.h | |
parent | 7059c8c23c85f91475a40cf9af2563df144b0f64 (diff) | |
download | micropython-dd32f02cc3c5d23acd033fda83e968b1eff3d42f.tar.gz micropython-dd32f02cc3c5d23acd033fda83e968b1eff3d42f.zip |
esp8266: Add basic I2C driver, with init and writeto methods.
Tested and working with SSD1306 I2C display.
Diffstat (limited to 'esp8266/qstrdefsport.h')
-rw-r--r-- | esp8266/qstrdefsport.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/esp8266/qstrdefsport.h b/esp8266/qstrdefsport.h index 569181222b..30b811e0c1 100644 --- a/esp8266/qstrdefsport.h +++ b/esp8266/qstrdefsport.h @@ -142,6 +142,17 @@ Q(memory) Q(ADC) Q(read) +// I2C +Q(I2C) +Q(init) +Q(scl) +Q(sda) +Q(freq) +Q(writeto) +Q(stop) +Q(buf) +Q(addr) + // utime Q(utime) Q(localtime) |