tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 767d4042bc4cdfbfe50301625c2290cce2845936
parent 683ab85083002a22d11f7f61af30871c27680df4
Author: rbckman <rob@tarina.org>
Date:   Wed,  2 Sep 2020 14:19:22 +0100

smbus changed to 11

Diffstat:
Mtarina.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tarina.py b/tarina.py @@ -38,7 +38,7 @@ from blessed import Terminal #if buttons are installed try: - bus = smbus.SMBus(3) # Rev 2 Pi uses 1 + bus = smbus.SMBus(11) # Rev 2 Pi uses 1 DEVICE = 0x20 # Device address (A0-A2) IODIRB = 0x0d # Pin pullups B-side IODIRA = 0x00 # Pin pullups A-side 0x0c