Search found 1 match

by vairamani
Wed Oct 24, 2018 6:18 pm
Forum: ESP32 boards
Topic: HelTec WIFI KIT 32 and MicroPython
Replies: 10
Views: 20825

Re: HelTec WIFI KIT 32 and MicroPython

[quote=db4linq post_id=23063 time=1510147491 user_id=3376] from machine import I2C, Pin import ssd1306 rst = Pin(16, Pin.OUT) rst.value(1) scl = Pin(15, Pin.OUT, Pin.PULL_UP) sda = Pin(4, Pin.OUT, Pin.PULL_UP) i2c = I2C(scl=scl, sda=sda, freq=450000) oled = ssd1306.SSD1306_I2C(128, 64, i2c, addr=0x3...