Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6932

Inky pHAT setup

$
0
0

@mollymf wrote:

I am trying to follow the tutorial for setting up my inky phat (https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-inky-phat) but have run into issues in trying to run the examples. Everything installed properly, yet when I try the nametag example, I get the following:

Use Inky pHAT/wHAT as a personalised name badge!

Traceback (most recent call last):
File “/home/pi/Pimoroni/inky/examples/name-badge.py”, line 29, in
inky_display = InkyPHAT(colour)
File “/usr/local/lib/python2.7/dist-packages/inky/phat.py”, line 27, in init
v_flip=False)
File “/usr/local/lib/python2.7/dist-packages/inky/inky.py”, line 74, in init
self.eeprom = eeprom.read_eeprom()
File “/usr/local/lib/python2.7/dist-packages/inky/eeprom.py”, line 103, in read_eeprom
i2c = SMBus(1)
File “/usr/local/lib/python2.7/dist-packages/smbus2/smbus2.py”, line 253, in init
self.open(bus)
File “/usr/local/lib/python2.7/dist-packages/smbus2/smbus2.py”, line 265, in open
self.fd = os.open("/dev/i2c-{}".format(bus), os.O_RDWR)
OSError: [Errno 2] No such file or directory: ‘/dev/i2c-1’

I tried reinstalling the directory and examples via github but this made no difference. Please help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6932

Trending Articles