Skip to content
Snippets Groups Projects
Commit 2845a150 authored by Quentin Bolsee's avatar Quentin Bolsee
Browse files

i2c

parent 04dd8f49
No related branches found
No related tags found
No related merge requests found
import ssd1306
import framebuf
from machine import SoftI2C, Pin, freq
from machine import I2C, Pin, freq
from ulab import numpy as np
import random
import time
......@@ -33,7 +33,7 @@ def init_grid(grid):
def main():
freq(250000000)
i2c = SoftI2C(scl=Pin(7), sda=Pin(6))
i2c = I2C(scl=Pin(7), sda=Pin(6))
display = ssd1306.SSD1306_I2C(128, 64, i2c)
width = 128
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment