Re-create Renaissance tech to convert rotation into a square wave.