I am planning to make a timer switch using MSP430F5529 launchpad and a relay board for microcontrollers like this: http://www.ebay.co.uk/itm/2-4-CHANNEL-5V-RELAY-MODULE-BOARD-for-ARDUINO-ARM-AVR-DSP-RASP-PI-MSP430-19102-/251501033197?pt=UK_BOI_Electrical_Components_Supplies_ET&var=&hash=item3a8ea136ed
I wish to have an output ON for 3 minutes every 60 minutes. So there is not really a need to have a 24 hour clock or anything like that, just to get it to switch the output ON for 3 minutes and then turn it off and ON again after another 60 min and continue doing this as long as it is powered.
I just find it hard as a beginner to do this. Could anyone more experience give me some info on how this could be done in the code? Hardware wise I think it is simple but I just don't understand how to program this.