Hello,
I'm working on a project : solaire tracker, this projet have 4 light sensors, this 4 sensors has analogue outputs, my probleme is I couldn't figure out how to compare between the output voltage of this captors, for exemple, using MikcroC I want to know which gives more voltage and which gives low voltage, and how to compare and using conditions, for exemple if(cap1>cap2){do somthing}....(cap1= output voltage of the captor 1, cap2= output voltage of the captor 2)
as I know for MikcroC, I can compare only digital outputs, so there's anyway that I can compare analgue output voltage?
sorry for my English, thank you for your time.
I'm working on a project : solaire tracker, this projet have 4 light sensors, this 4 sensors has analogue outputs, my probleme is I couldn't figure out how to compare between the output voltage of this captors, for exemple, using MikcroC I want to know which gives more voltage and which gives low voltage, and how to compare and using conditions, for exemple if(cap1>cap2){do somthing}....(cap1= output voltage of the captor 1, cap2= output voltage of the captor 2)
as I know for MikcroC, I can compare only digital outputs, so there's anyway that I can compare analgue output voltage?
sorry for my English, thank you for your time.