Hi.
Ive created an op amp circuit connected to force sensor and the output voltage varies from 0V to 3V(aprox).
Does any one have any example asm code/ tips for being able to use the comparators in the pic 16F628 to detect 3 or 4 different voltages.
for example it will detect if the voltage is between;
0-1V, it will turn on Led1
1-2V it will flash Led1
2V+, it will turn Led2
Any help would be much appreciated, particualrily in coding.(asm)
Thanks
Ive created an op amp circuit connected to force sensor and the output voltage varies from 0V to 3V(aprox).
Does any one have any example asm code/ tips for being able to use the comparators in the pic 16F628 to detect 3 or 4 different voltages.
for example it will detect if the voltage is between;
0-1V, it will turn on Led1
1-2V it will flash Led1
2V+, it will turn Led2
Any help would be much appreciated, particualrily in coding.(asm)
Thanks