The Arduino code running in the Petricity pets