Rewrote all PRU controller code.