hello people !!
in my project, I have two voltages of range 0V - 160mV to compare .. if they match MCU will follow a specific procedure .. other wise it ignore it and continue its ordinary job ..
the program is a normal loop with delay of half sec , after half sec MCU will check V1 and V2, if they match in value , it will start a procedure reside out of the loop then back to main loop .. if they do not match , nothing will happen, just continue the loop ...
sounds easy job ,eh ?
PIC18452 has analog comparator feature and I do not know how to make use of it since there is no enough resources talks about it ! I use MikroC and it doesnt tell much about it ..
does anybody have any idea about this ? please help
in my project, I have two voltages of range 0V - 160mV to compare .. if they match MCU will follow a specific procedure .. other wise it ignore it and continue its ordinary job ..
the program is a normal loop with delay of half sec , after half sec MCU will check V1 and V2, if they match in value , it will start a procedure reside out of the loop then back to main loop .. if they do not match , nothing will happen, just continue the loop ...
sounds easy job ,eh ?
PIC18452 has analog comparator feature and I do not know how to make use of it since there is no enough resources talks about it ! I use MikroC and it doesnt tell much about it ..
does anybody have any idea about this ? please help