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...