Releases: bradytheinventor/led-cube
Releases · bradytheinventor/led-cube
Version 1.1.0
Changes:
-
Completely restructured filesystem to make adding patterns clear and easily extendable.
- The main file is now named
led_cube.py
- The core file is now named
core.py
- Patterns are no longer defined inside
led_cube.py
. Instead, they are grouped (by what they do) in files in the subdirectory/patterns
.
- The main file is now named
-
Rewrote
Sequence
class to be easier to use.- Instead of requiring three parallel lists to store patterns, it now takes a single two-dimensional list.
- Removed ability to run a
Sequence
"infinity"
times, use a number greater than 9999 instead.
-
Removed unnecessary classes and variables, along with general bugfixes.
- Removed
ThreadRunClass
. - Removed SRCLR pin references in
ShiftRegister
class. - Removed strangely named variables from main block.
- Removed references to RGB LED pins.
- Removed
threadRunning
variable.
- Removed
-
Updated comments to be more helpful, especially when explaining core functions.
Version 1.0.0
This is the code that was originally attached to my Instructable (https://www.instructables.com/id/Raspberry-Pi-4x4x4-LED-Cube/). It is fully usable, but poorly written and fairly difficult to understand. If you wish, you can use this code, although I recommend using a better-written version.