Test of control and 7-segment display for Master

Only for Mega. Uno does not have enough interrupt pins.