You solution should return control to main program only when the current time ends in either a 5 or 0 (e.g. the current seconds are 0 or a multiple of 5)
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more