python
文章平均质量分 65
chenqide163
这个作者很懒,什么都没留下…
展开
-
树莓派 python 驱动 lcd tft spi 2.8寸 ili9341 240x320
Raspberry pi Python driver LCD TFT SPI 2.8 Inch ili9341 树莓派 python 驱动 lcd tft spi 2.8寸 ili9341原创 2022-07-03 07:54:53 · 3111 阅读 · 1 评论 -
树莓派读取gps neo6m信息
树莓派读取gps neo6m信息原创 2022-06-30 07:29:29 · 908 阅读 · 4 评论 -
树莓派 python 驱动 lcd tft spi 1.8寸 ST7735S
树莓派 python 驱动 lcd tft spi 1.8寸 ST7735S原创 2022-02-02 06:54:11 · 6610 阅读 · 14 评论 -
Python制作含微软雅黑字体的图片报错,中文字体报错可用类似方式处理
1. 关键代码# coding : UTF-8from PIL import Image, ImageFont, ImageDrawimage = Image.new('RGB', (160, 128))setFont = ImageFont.truetype("C:/windows/fonts/微软雅黑", 16)text = "陈琦添加文字测试"draw = ImageDraw.Draw(image)draw.text((0, 40), text, font=setFont, fill="原创 2022-01-29 08:22:41 · 2033 阅读 · 1 评论