Spettacolo di luci
Questa dimostrazione é stata prodotta da Jules Martinet della Scuola Superiore Gymnasium Auguste Piccard, di Losanna.
La dimostrazione usa i LED di Thymio II in una sequenza specifica. I tre robot nel video sono connessi a tre computer e avviati manualmente nello stesso tempo…
Qui ci sono alcune immagini prese durante la dimostrazione:
Questo é il codice utilizzato:
var etat=0
onevent buttons
etat=(etat+1)%36
if etat==0 then
call leds.circle(0,0,0,0,0,0,0,0)
end
if etat==1 then
call leds.top(0,0,0)
end
if etat==2 then
call leds.bottom.left(0,0,0)
end
if etat==3 then
call leds.bottom.right(0,0,0)
end
if etat==4 then
call leds.buttons(0,0,0,0)
end
if etat==5 then
call leds.prox.h(0,0,0,0,0,0,0,0)
end
if etat==6 then
call leds.prox.v(0,0)
end
if etat==7 then
call leds.rc(0)
end
if etat==8 then
call leds.sound(0)
end
if etat==9 then
call leds.temperature(0,0)
end
if etat==10 then
call leds.top (32,0,0)
end
if etat==11 then
call leds.top(0,32,0)
end
if etat==12 then
call leds.top (0,0,32)
end
if etat==13 then
call leds.bottom.right(32,32,0)
end
if etat==14 then
call leds.circle(1,0,0,0,0,0,0,0)
end
if etat==15 then
call leds.circle(1,4,0,0,0,0,0,0)
end
if etat==16 then
call leds.circle(1,4,8,0,0,0,0,0)
end
if etat==17 then
call leds.circle(1,4,8,16,0,0,0,0)
end
if etat==18 then
call leds.circle(1,4,8,16,24,0,0,0)
end
if etat==19 then
call leds.circle(1,4,8,16,24,32,0,0)
end
if etat==20 then
call leds.circle(1,4,8,16,24,32,32,0)
end
if etat==21 then
call leds.circle(1,4,8,16,24,32,32,32)
end
if etat==22 then
call leds.bottom.left(0,0,32)
end
if etat==23 then
call leds.buttons(32,0,0,0)
end
if etat ==24 then
call leds.buttons(32,32,0,0)
end
if etat==25 then
call leds.buttons(32,32,32,0)
end
if etat==26 then
call leds.buttons(32,32,32,32)
end
if etat==27 then
call leds.sound(32)
end
if etat==28 then
call leds.prox.h(0,0,0,0,0,0,0,32)
end
if etat==29 then
call leds.prox.h(0,0,0,0,0,0,32,32)
end
if etat==30 then
call leds.prox.h(32,0,0,0,0,0,32,32)
end
if etat==31 then
call leds.prox.h(32,0,0,0,0,32,32,32)
end
if etat==32 then
call leds.prox.h(32,32,0,0,0,32,32,32)
end
if etat==33 then
call leds.prox.h(32,32,0,0,32,32,32,32)
end
if etat==34 then
call leds.prox.h(32,32,32,0,32,32,32,32)
end
if etat==35 then
call leds.prox.h(32,32,32,32,32,32,32,32)
end