This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import RPi.GPIO as GPIO | |
from time import sleep | |
# Define GPIO to LCD mapping | |
LCD_RS = 7 | |
LCD_E = 8 | |
LCD_D4 = 25 | |
LCD_D5 = 24 | |
LCD_D6 = 23 |