Arduino UNO.
Have a program that measures the time in seconds. Want to report this time in minutes and seconds on a display. but how do I program this? How to divide with 60 and get the answer in minits and seconds?
data = 122; // 2 minutes, 2 seconds
minutes = data /60;
second = data % 60;