Skip to content

Commit

Permalink
Merge pull request #5 from ishotjr/patch-1
Browse files Browse the repository at this point in the history
update paths
  • Loading branch information
ZodiusInfuser authored Sep 16, 2024
2 parents e9a7e34 + b642115 commit 4ba901f
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions examples/tiny_fx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,123 +36,123 @@ These are micropython examples for the Pimoroni [TinyFX](https://shop.pimoroni.c
## Function Examples

### Read Button
[function/read_button.py](function/read_button.py)
[function/read_button.py](examples/function/read_button.py)

Show the state of TinyFX's Boot button on its RGB output.


### Sensor Meter
[function/sensor_meter.py](function/sensor_meter.py)
[function/sensor_meter.py](examples/function/sensor_meter.py)

Use TinyFX's mono outputs as a bargraph to show the voltage measured from a sensor attached to the sensor connector.


### Voltage Meter
[function/voltage_meter.py](function/voltage_meter.py)
[function/voltage_meter.py](examples/function/voltage_meter.py)

Use TinyFX's mono outputs as a bargraph to show the voltage that is powering the board.


## Mono Effect Examples

### Single Blink
[effects/mono/single_blink.py](effects/mono/single_blink.py)
[effects/mono/single_blink.py](examples/effects/mono/single_blink.py)

Play a blinking effect on one of TinyFX's outputs.


### Single Flashing
[effects/mono/single_flashing.py](effects/mono/single_flashing.py)
[effects/mono/single_flashing.py](examples/effects/mono/single_flashing.py)

Play a flashing effect on one of TinyFX's outputs.


### Single Flicker
[effects/mono/single_flicker.py](effects/mono/single_flicker.py)
[effects/mono/single_flicker.py](examples/effects/mono/single_flicker.py)

Play a flickering effect on one of TinyFX's outputs.


### Single Pulse
[effects/mono/single_pulse.py](effects/mono/single_pulse.py)
[effects/mono/single_pulse.py](examples/effects/mono/single_pulse.py)

Play a pulsing effect on one of TinyFX's outputs.


### Single Random
[effects/mono/single_random.py](effects/mono/single_random.py)
[effects/mono/single_random.py](examples/effects/mono/single_random.py)

Play a randomly changing brightness effect on one of TinyFX's outputs.


### Blink Wave
[effects/mono/blink_wave.py](effects/mono/blink_wave.py)
[effects/mono/blink_wave.py](examples/effects/mono/blink_wave.py)

Play a wave of blinks on TinyFX's outputs.


### Flashing Sequence
[effects/mono/flashing_sequence.py](effects/mono/flashing_sequence.py)
[effects/mono/flashing_sequence.py](examples/effects/mono/flashing_sequence.py)

Play a flashing sequence across TinyFX's outputs.


### Pulse Wave
[effects/mono/pulse_wave.py](effects/mono/pulse_wave.py)
[effects/mono/pulse_wave.py](examples/effects/mono/pulse_wave.py)

Play a wave of pulses on TinyFX's outputs.


### Binary Counter
[effects/binary_counter.py](effects/binary_counter.py)
[effects/binary_counter.py](examples/effects/binary_counter.py)

Play an incrementing binary counter on TinyFX's outputs.


### Traffic Light
[effects/mono/traffic_light.py](effects/mono/traffic_light.py)
[effects/mono/traffic_light.py](examples/effects/mono/traffic_light.py)

Play a traffic light sequence on TinyFX's outputs.


## Colour Effect Examples

### Rainbow
[effects/colour/rainbow.py](effects/colour/rainbow.py)
[effects/colour/rainbow.py](examples/effects/colour/rainbow.py)

Play a rainbow effect on TinyFX's RGB output.


### Random
[effects/colour/random.py](effects/colour/random.py)
[effects/colour/random.py](examples/effects/colour/random.py)

Play a randomly changing brightness and colour effect on TinyFX's RGB output.


### Hue Step
[effects/colour/hue_step.py](effects/colour/hue_step.py)
[effects/colour/hue_step.py](examples/effects/colour/hue_step.py)

Play a stepped hue effect on TinyFX's RGB output.


## Audio Examples

### Race Start
[audio/race_start.py](audio/race_start.py)
[audio/race_start.py](examples/audio/race_start.py)

Plays a simple boop, boop, boop, beeep countdown sound effect when
you press Boot on TinyFx. Great for counting down to a race start.


### Encounters
[audio/fair_use_encounters.py](audio/fair_use_encounters.py)
[audio/fair_use_encounters.py](examples/audio/fair_use_encounters.py)

Play an evocative musical melody with accompanying lights on TinyFX.
Any resemblance to music you might have heard elsewhere is purely coincidental.


### Photon Sword
[audio/photon_sword.py](audio/photon_sword.py)
[audio/photon_sword.py](examples/audio/photon_sword.py)

Play sounds that react to motion with a TinyFX.
Grab yourself an MSA301 and attach it to the Qw/St connector.
Expand All @@ -163,30 +163,31 @@ This example needs the directory `photon_sword` copied over to your TinyFX.
## Showcase Examples

### Rescue Vehicle
[showcase/rescue_vehicle.py](showcase/rescue_vehicle.py)
[showcase/rescue_vehicle.py](examples/showcase/rescue_vehicle.py)

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.


### Sensor Wave
[showcase/sensor_wave.py](showcase/sensor_wave.py)
[showcase/sensor_wave.py](examples/showcase/sensor_wave.py)

Play a wave of pulses on TinyFX's outputs, who's speed is controlled by a sensor.


### Ship Thrusters
[showcase/ship_thrusters.py](showcase/ship_thrusters.py)
[showcase/ship_thrusters.py](examples/showcase/ship_thrusters.py)

Play a set of flickering thruster effects on a model spaceship, with an RGB light used for planetshine underglow.


### Space Tales
[showcase/space_tales.py](showcase/space_tales.py)
[showcase/space_tales.py](examples/showcase/space_tales.py)

Play effects for each space themed "postcard".


### Space Tales with PIR Sensor
[showcase/space_tales_pir.py](showcase/space_tales_with_pir.py)
[showcase/space_tales_pir.py](examples/showcase/space_tales_with_pir.py)

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.

0 comments on commit 4ba901f

Please sign in to comment.