Hi,
I have this chip atmega164pv from atmel. And coding in C using CodeVision. I have 2 sensors which i want to convert signal using ADC function and compare the results and have 2 output signals.
Example. if Sensor1 is more than 5% higher then Sensor2 so it will be a high signal on Output1 until it is equal or less then 5% high then Sensor2. At same function for Sensor2.
How can i do this in CodeVision?
I have this chip atmega164pv from atmel. And coding in C using CodeVision. I have 2 sensors which i want to convert signal using ADC function and compare the results and have 2 output signals.
Example. if Sensor1 is more than 5% higher then Sensor2 so it will be a high signal on Output1 until it is equal or less then 5% high then Sensor2. At same function for Sensor2.
How can i do this in CodeVision?