Creating a time based system—hours minutes seconds
I’m currently trying Arduino C and trying to figure out the best way to convert the given added values into the correct seconds, minutes, and hours. I’m aware this needs division and modulo; it’s just that I’m not sure where. How would I go about doing this? This is my code: void setup() { int