Fourletterphat problem


#1

Hi

trying to get my fourletterphat going and I am getting an error (see below) running the examples. I am guessing my first attempt at soldering is not as good as I thought … is that what this error is telling me?

$ python cpu-temp.py
Traceback (most recent call last):
File “cpu-temp.py”, line 4, in
import fourletterphat
File “/usr/lib/python2.7/dist-packages/fourletterphat/init.py”, line 3, in
from .i2c_bus import bus
File “/usr/lib/python2.7/dist-packages/fourletterphat/i2c_bus.py”, line 11, in
bus = smbus.SMBus(1)
IOError: [Errno 2] No such file or directory


#2

This sounds like your i2c bus isn’t enabled.

You should use raspi-config in the Terminal, or the Raspberry Pi Configuration utility to enable it.


#3

Correct. Figured that late last night. Also note to theta that it requires a reboot to enable as well