Search found 1 match
- Thu Apr 28, 2022 8:38 pm
- Forum: Programs, Libraries and Tools
- Topic: Having an issue getting the lib for the SSD1306 working
- Replies: 9
- Views: 13125
Re: Having an issue getting the lib for the SSD1306 working
have the SSD1306.py in my Lib forler. Trying to run some simple code: from machine import Pin, I2C from ssd1306 import SSD1306_I2C import framebuf WIDTH = 128 HEIGHT = 64 i2c = I2C(0, scl = Pin(17), sda = Pin(16), freq=200000) oled = SSD1306_I2C(WIDTH, HEIGHT, i2c) oled.fill(0) oled.text("I CAN HAZ...