Sense HAT emulator on Raspbian

On the latest version of raspbian a new app appeared. This app is a sense hat emulator. It is very cool and when you do from sense_hat import SenseHat do from sense_emu import SenseHat instead. For example, here is some Python code that I found here! Here is the code, but this code is for the emulator instead of the emulator for your web browser:

from sense_emu import SenseHat

sense = SenseHat()
red = (255, 0, 0)
sense.show_message(“How cool is this?”, text_colour = red)

 

Have fun experimenting!

Epic Chas Gamer 😎

Advertisements

Go on, you know you want to! Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s