MicroPython LED library for PYBLITE v1.0
Speed and duration is available for every method. Some methods allow to set specific parameters like fading (by default always 1), static (by default false and which leaves the lights on until the whole cycle is completed), right to left (by default always left to rigth)...
The images below have been generated with the same code but do not reprsent the speed or delay in any way as gif do not allow different speed per frame required in some patterns.
Light a random LED and turn it off before turning on any other.
Options available:
- Random delay: delay will vary between 0 and the passed delay
Example:
Light a random number of LEDs and turn them off before turning on any other.
Options available:
- Random delay: delay will vary between 0 and the passed delay
Example:
Light the LEDs from inside to the outside.
Example:
Light the LEDs from the outside to the inside.
Example:
Light the LEDs jumping to the furthest that hasn't been lighted yet.
Options available:
- Static
- Right to left
Examples:
- Normal
- Static
Light the LEDs with a scrolling pattern starting always from the same point.
Options available:
- Static
- Right to left
Examples:
- Normal
- Static
Light the LEDs with a scrolling pattern starting always from the same point and leaving a light trace.
Options available:
- Fade (number of LEDs on for the trace). A 0 fade presents the same pattern as the normal scroll.
- Right to left
Examples:
- Fade 1 (by default):
- Fade 2:
Light the LEDs with a scrolling pattern bouncing at each side in a Kinght Rider effect.
Options available:
- Fade (number of LEDs on for the trace). A 0 fade presents the same pattern as the bounce pattern.
- Right to left
Examples:
- Fade 1 (by default):
- Fade 2:
Light the LEDs with a scrolling pattern bouncing at each side.
Options available:
- Right to left
Example:
Light any of the variable intensity LEDs (orange and/or blue) from 0 to the max intensity. The default LED is the blue for this effect.
Options available:
- Blue LED
- Orange LED
Example:
Light the variable intensity LEDs (orange and blue) from 0 to the max intensity and from the max intensity to 0 in a swing effect.
Options available:
- Right to left
Example:
Light the variable intensity LEDs (orange and/or blue) simulating a heart beat with two peaks per cycle. The default LED is the blue for this effect.
Options available:
- Blue LED
- Orange LED
Example: