AlainGeenrits
Posts: 3
Joined: Thu Jan 21, 2016 6:04 pm

Sense Hat not working after install

Thu Jan 21, 2016 6:19 pm

All,

I installed my Sense Hat on a B+ and even reinstalled Raspbian Jessie. Ran the install and I always get stuck in Python. All LEDs are lit and when I run a simple initialisation:

Code: Select all

Python 3.4.2 (default, Oct 19 2014, 13:31:11) 
[GCC 4.9.1] on linux
Type "copyright", "credits" or "license()" for more information.
>>> from sense_hat import SenseHat
>>> sense = SenseHat()
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    sense = SenseHat()
  File "/usr/lib/python3/dist-packages/sense_hat/sense_hat.py", line 36, in __init__
    raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device
>>> 
I can run the RTIMULibDrive11 example when I compile it, other Python examples fail the same. What am I doing wrong ?

All updates completed. I think rpi-update is not used anymore ?

See you on the bitstream, Alain

AlainGeenrits
Posts: 3
Joined: Thu Jan 21, 2016 6:04 pm

Re: Sense Hat not working after install

Thu Jan 21, 2016 7:10 pm

Apologies it is a Pi 2 (Got a few around ... ;-)) uname -r output:

Linux raspberrypi 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux

Return to “Astro Pi”