Introduction
You can create some amazing projects, by controlling your CodeBug with Python using the Raspberry Pi’s I2C port. This guide will show you how to create a scrolling digital CodeBug clock.
Make sure you have followed the ‘RASPBERRY PI CONTROLLED CODEBUG WITH I2C’ guide and have your CodeBug loaded with the I2C tethered mode program and connected your CodeBug in the correct position on the Raspberry Pi’s GPIO before trying this activity

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