Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
580 B
1
Indexable
Never
a = (255, 255, 255) # Blanc
c = (0, 0, 0) # Noir
e = (0, 0, 205) # Bleu moyen
q = (255, 255, 0) # Jaune
t = (255, 140, 0) # Orange foncé
w = (255, 192, 203) # Rose
rvb = sense.color # obtenir la couleur du capteur
c = (rvb.red, rvb.green, rvb.blue)
image = [
  c, c, c, q, q, q, c, c,
  c, c, t, q, e, q, c, c,
  c, c, c, q, q, q, c, c,
  c, w, w, w, w, w, w, c,
  c, w, a, a, a, a, w, c,
  c, w, a, a, a, a, w, c,
  c, c, w, a, 
    a, w, c, c,
  c, c, c, w, w, c, c, c]
sense.set_pixels(image)
sleep(3)
sense.show_message("Michael Jakison ",text_colour=w)

yannis
13
nargues
14