Hi, thanks for any help in advance - go easy I`m new to RPi and Linux in general
I have seen other people with the exact same problem but have never seen a solution on a forum so far
I can turn on the 4 leds and make them flash on the explorerhat, but when I came to set the outputs it wouldn`t work. I quickly realised I needed to do some things first to import explorer hat into python, but whatever instructionsI follow, it seems that I can never find i2c, although it is supposed to be ready.
sudo i2cdetect -y 1
it just shows a message like Error: Could not open file /dev/i2c-1’ or/dev/i2c/1’: No such file or directory
I tried to enable i2c using raspi-config and it appears to work.
I have done:
curl get.pimoroni.com/i2c | bash
sudo apt-get install python-smbus
sudo apt-get install python-pip
sudo pip install explorerhat
everything appears to be ok but trying to imprt explorerhat brings up
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/lib/python2.7/dist-packages/explorerhat.py”, line 624, in
_cap1208 = captouch.Cap1208()
File “/usr/local/lib/python2.7/dist-packages/captouch.py”, line 187, in init
self.i2c = SMBus(i2c_bus)
IOError: [Errno 2] No such file or directory
I have disabled device tree I think,
in config.txt I have
in /etc/modules I have
Module Size Used by
i2c_dev 6027 0
i2c_bcm2708 4990 0
whatever I do there is never i2c in dev.
Sorry for lack of clarity or any ridiculous noob errors, but this is my first day with the RPi I am an absolute beginner.