Add seven segment control code for debugging