Sense hat text examples

These were just some text examples for the Sense hat

from sense_hat import SenseHat
from time import sleep
 
sense = SenseHat()
green = [0, 255, 0]
sense.show_message("Hello!", text_colour=green)
from sense_hat import SenseHat
 
sense = SenseHat()
 
yellow = (255, 255, 0)
blue = (0, 0, 255)
 
message = "Hello"
 
speed = 0.05
 
sense.show_message(message, speed, text_colour=yellow, back_colour=blue)
from sense_hat import SenseHat
 
sense = SenseHat()
 
yellow = (255, 255, 0)
blue = (0, 0, 255)
 
sense.show_message("Hello!", text_colour=green)
 
speed = 0.05
 
while True:
    sense.show_message(message, speed, text_colour=yellow, back_colour=blue)
SHARE
Previous articleSense hat environmental sensor examples
Next articleDisplay simple flag images on a Sense hat