Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5151

Beginners • Re: Sense Hat import not working

$
0
0
B.Goode if you are on the Pi Desktop then if you use the emulator you can see what should happen.
You may need to add the emulator in Recommend Software

Code:

from sense_emu import SenseHatsense = SenseHat()sense.show_message("Hello world")
But they say it works with the emulator.


One excellent diagnostic tip for the SenseHat is to take it an and off a few times and give it a wiggle when seated.

But it is seen, as you're not getting the error B.Goode is seeing. The full error message will guide us to the part of the sense hat that might be triggering the error.

The python version will tell us which version of Raspberry Pi OS you are using.



When you post errors or code, in the text box there is a Code button above it you can use to wrap code tags around text (select all the text for code, then press the button is one way of using it)

Statistics: Posted by bensimmo — Sun Dec 01, 2024 7:43 am



Viewing all articles
Browse latest Browse all 5151

Trending Articles