cube master - rowr111/cubegarden GitHub Wiki
The cubes can be controlled by a master controller - a BM17 heart badge.
To compile/load the code:
- on the raspberry pi, navigate to src-heart instead of src and run
make -j3
from there- a cubemaster.elf build will be created
- load this cubemaster build instead of cube onto the heart badge.
The cube master badge does many things
- sends out timing information regularly that all the cubes use to sync themselves onto the same loop variable value
- can send out a command to all the cubes to change their pattern
- can send out a command to all the cubes to change their brightness
- can send out updates to the cubes' constants used to adjust their sensitivity to various items (air pressure changes, sound levels)
- responds to sex requests from other BM17 heart badges that want to get a special pattern from the cubegarden