Copied working applicable parts of encoder firmware to solenoid controller firmware