Help with Coding a PIC for automated watering system
Hi guys,
I'm new to programming and for my final year project at university I am having to program a PIC 18F2420 using C to water plants when a soil moisture sensor has an digital output of 0. I would like it to only measure every 10 minutes and sleep the rest of the time to conserve energy. I have literally no idea how to do this any help you could give me would be greatly appreciated. I have many books but I still don't seem to understand it.
Thanks :D