5 years, 11 months ago.

One week wait()

Hello, I've got a LPC1768 with the application board. I'm trying to activate a solenoid valve with the microcontroller but from 2 times a day to 1 time a week. I read I can't use the "wait" or "timeout" functions because of the 30 minutes maximum. Does anyone have an idea of what the solution can be? I'd like to minimize the power consumption (I'll use battery) and use interruptions if that's possible. Thanks a lot for your help

1 Answer

5 years, 11 months ago.

Hello Titi,

I think Erik Olieman's RTC library might help.

Accepted Answer