Thymio Blockly Lights

This blockly/aesl code produces a dynamic pattern of running lights on the Thymio's leds.

There are several pattern elements:

  • Top leds - a red heartbeat pulse - similar to the built in behaviours
blockly%20pulse%20screenshot.jpg
  • Bottom and ground sensor leds - alternating from side to side
  • Front sensor leds - a side to side sweeping pattern - "Larson scanner"
blockly%20scanner%20screenshot.jpg
  • Circle leds - a binary counter (0-255)

The forward button switches between sound states (off/beep/cycle) to accompany the led patterns .

blockly_running_lights.jpg
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License