This file contains hidden or 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
| import time | |
| import random | |
| import smbus | |
| import RPi.GPIO as GPIO | |
| # ----------------------------- | |
| # LCD SETUP | |
| # ----------------------------- | |
| LCD_ADDR = 0x27 | |
| bus = smbus.SMBus(1) |
This file contains hidden or 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
| import time | |
| import random | |
| import smbus | |
| import RPi.GPIO as GPIO | |
| # ----------------------------- | |
| # LCD SETUP | |
| # ----------------------------- | |
| LCD_ADDR = 0x27 | |
| bus = smbus.SMBus(1) |
This file contains hidden or 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
| ======================================== | |
| FILE: menu.py | |
| ======================================== | |
| import time | |
| import RPi.GPIO as GPIO | |
| import smbus | |
| import subprocess | |
| # ----------------------------- | |
| # LCD SETUP |
This file contains hidden or 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
| import smbus | |
| import time | |
| import RPi.GPIO as GPIO | |
| import random | |
| # ----------------------------- | |
| # LCD1602 I2C DRIVER | |
| # ----------------------------- | |
| LCD_ADDR = 0x27 | |
| bus = smbus.SMBus(1) |