Procedure to program the control board and the function selector.