Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
575 B
4
Indexable
Never
a = (255, 255, 255) # Branco
c = (0, 0, 0) # Preto
f = (25, 25, 112) # Azul da meia noite
m = (34, 139, 34) # Verde floresta
w = (155, 233, 253)
q = (255, 58, 47)
rgb = sense.color # obter a cor do sensor
c = (rgb.red, rgb.green, rgb.blue)


imagem = [
  w, w, w, w, w, w, w, w,
  w, q, w, w, q, w, q, w,
  w, q, w, w, q, w, q, w,
  w, q, w, w, q, w, q, w,
  w, q, q, q, q ,w ,q ,w,
  w, q, w, w, q, w, q, w,
  w, q, w, w, q, w, q, w,
  w, w, w, w, w, w, w, w]

sense.set_pixels(imagem)
sleep(3)
sense.show_message("Cristiano Ronaldo the goat", text_colour

petra
13
bryan
14