projects
/
rb-clock.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more backups
[rb-clock.git]
/
python
/
lcd-clear.py
1
import RPi.GPIO as GPIO
2
from RPLCD.gpio import CharLCD
3
import socket
4
import fcntl
5
import struct
6
import time
7
from signal import signal, SIGINT
8
from sys import exit
9
10
lcd = CharLCD(cols=40, rows=2, pin_rs=37, pin_e=35, pins_data=[33, 31, 29, 23], numbering_mode=GPIO.BOARD)
11
lcd.clear()
12
lcd.clear()
13
lcd.close()