sensehat init

PHOTO EMBED

Thu Dec 31 2020 15:50:04 GMT+0000 (Coordinated Universal Time)

Saved by @houch841 #sensehat

from sense_hat import SenseHat
from time import *

sh = SenseHat()
sh.low_light = True

Rouge  = (205,0,0)
Vert   = (0,100,0)
Bleu   = (0,0,200)
Noir   = (0,0,0)
Blanc  = (255,255,255)
Orange = (255,125,0)
Mauve  = (160,0,255)
Jaune  = (255,255,0)

M = Mauve
J = Jaune
N = Noir
R = Rouge
B = Bleu
V = Vert
O = Orange
W = Blanc
content_copyCOPY