Skip to content

Instantly share code, notes, and snippets.

@t114
t114 / lcd_display.py
Last active August 28, 2017 15:34
入力されたテキストをTG12864B-02WWBVに表示させる
#!/usr/bin/python
# -*- coding: utf-8 -*-
import wiringpi as w
import sys
import time
from PIL import Image, ImageDraw, ImageFont
FONT_SIZE = 14
@t114
t114 / glcd.py
Created August 28, 2017 10:00
https://sakura87.net/archives/2155 のglcd.cをPythonに翻訳させていただきました。
#!/usr/bin/python
# -*- coding: utf-8 -*-
import wiringpi as w
import sys
import time
# データ線以外のポート定義