Working Code

First working code to display a cube! RPM-sensing revamped with
phototransistor, and motor runs optimally with a 9V 1A power source
rather than the 12V (12V was too fast.)