文件名称:SSD1306:MicroPython修改的SSD1306驱动程序
文件大小:3KB
文件格式:ZIP
更新时间:2024-05-20 23:03:44
micropython python3 Python
固态硬盘1306 MicroPython修改的SSD1306驱动程序 添加了硬件水平滚动和清除功能 这是一个用法示例: # runs under micropython version 1.8.7 # import machine from machine import Pin, I2C import time import ssd1306 def lcdInit(): # I2C pins # I have 4k7 pull ups on scl and sda # set up I2C on gpio 14 and 16 i2c = I2C(scl=Pin(16), sda=Pin(14), freq=100000) lcd = ssd1306.SSD1306_I2C(128, 32, i2c) # lcd is 128
【文件预览】:
SSD1306-master
----README.md(973B)
----ssd1306.py(7KB)