A (hopefully better) implementation of the Port-O-Rotary Firmware