Introduction
Ever wanted to create your own light-show? With CodeBug it’s easy to create interesting, and intricate and moving patterns of lights. This activity will show you how to create animated flashing patterns on CodeBug with Python.
To use Python with CodeBug, you will connect CodeBug to your computer and use it in tethered mode. Follow the Tethered Mode activity to set up tethered mode.
You will be using the Python shell and also writing Python programs (look at the Tethered Mode guide if you are unsure how to do this).

![]() |
CodeBug | |||
Micro USB cable | ||||
Computer |