代码拉取完成,页面将自动刷新
This library allows to connect a ST7735 Display to a WiPy 2.0 and includes some drawing tools (line, circle, rectangle).
Wipy 2.0 | ST7735 | |
3.3v |
VCC |
|
GND |
GND |
|
P6 (G13 ) |
RES |
|
P7 (G14 ) |
RS/DC |
|
P8 (G15 ) |
CS |
|
P10 (G17 ) |
SCL |
|
P11 (G22 ) |
SDA |
These are the default connection setting, you can change them using the constructor of the Display
class as
my_display = Display(self, uSPI=0, pinDC='P7', pinCS='P8', pinRST='P6')
from graphics import Display
from fonts import font_6x8 # only needed for drawString or drawChar methods
my_display = Display()
my_display.clearScreen() # ClearScreen
my_display.drawString(10,10,'LeMaRiva', font_6x8, my_display.COLOR_RED, 2)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。