These are micropython examples for the Pimoroni TinyFX, a stamp-sized light and sound effects controller board for model making, construction kits, and dioramas.
Show the state of TinyFX's Boot button on its RGB output.
Use TinyFX's mono outputs as a bargraph to show the voltage measured from a sensor attached to the sensor connector.
Use TinyFX's mono outputs as a bargraph to show the voltage that is powering the board.
effects/mono/static_brightness.py
Show a static brightness on one of TinyFX's outputs.
Play a blinking effect on one of TinyFX's outputs.
effects/mono/single_flashing.py
Play a flashing effect on one of TinyFX's outputs.
effects/mono/single_flicker.py
Play a flickering effect on one of TinyFX's outputs.
Play a pulsing effect on one of TinyFX's outputs.
Play a randomly changing brightness effect on one of TinyFX's outputs.
Play a wave of blinks on TinyFX's outputs.
effects/mono/flashing_sequence.py
Play a flashing sequence across TinyFX's outputs.
Play a wave of pulses on TinyFX's outputs.
Play an incrementing binary counter on TinyFX's outputs.
Play a traffic light sequence on TinyFX's outputs.
Show a static colour on TinyFX's RGB output.
Show a static colour on TinyFX's RGB output, using HSV.
effects/colour/blink.py Play a blinking sequence effect on TinyFX's RGB output. Each blink in the sequence can be a different colour.
Play a rainbow effect on TinyFX's RGB output.
Play a randomly changing brightness and colour effect on TinyFX's RGB output.
Play a stepped hue effect on TinyFX's RGB output.
Plays a simple boop, boop, boop, beeep countdown sound effect when you press Boot on TinyFx. Great for counting down to a race start.
Play an evocative musical melody with accompanying lights on TinyFX. Any resemblance to music you might have heard elsewhere is purely coincidental.
Play sounds that react to motion with a TinyFX. Grab yourself an MSA301 and attach it to the Qw/St connector.
This example needs the directory photon_sword
copied over to your TinyFX.
Play an alternating flashing sequence on two of TinyFX's outputs, recreating the effect of rescue vehicle beacons. The other outputs are static for illuminated head and tail lights.
Play a wave of pulses on TinyFX's outputs, who's speed is controlled by a sensor.
Play a set of flickering thruster effects on a model spaceship, with an RGB light used for planetshine underglow.
Play effects for each space themed "postcard".
Play effects for each space themed "postcard" when someone walks past. A PIR sensor is used to activate the effect, which will turn off after a certain time.