И все это работает.
Месяц: Май 2019
Метео-станция на даче.
ILI9341 TFT Display 2.2 SPI MicroPython STM32F4
ESP32 Development Board WiFi & bluetooth CP2102 18650 Battery 0.96 inch OLED
Использование OLED Дисплея.
https://github.com/elfnor/micropython-blog-examples/tree/master/oled
import ssd1306,machine
import lcd_gfx
i2c = machine.I2C(scl=machine.Pin(4), sda=machine.Pin(5))
oled = ssd1306.SSD1306_I2C(128, 64, i2c)
oled.text(‘MicroPython on’, 0, 0)
oled.show()
lcd_gfx.drawCircle(35, 50, 10, oled, 1)
lcd_gfx.drawFillCircle(91, 50, 10, oled, 1)
lcd_gfx.drawLine(40, 20, 63, 5, oled, 1)
lcd_gfx.drawLine(63, 5, 85, 5, oled, 1)
lcd_gfx.drawFillTrie(63, 50, 63, 20, 50, 20, oled, 1)
lcd_gfx.drawTrie(63, 50, 63, 20, 78, 20, oled, 1)
lcd_gfx.drawRect(0, 0, 5, 5, oled, 1)
lcd_gfx.drawFillRect(122, 58, 5, 5, oled, 1)
oled.show()