Finished wiring up the controller