I am new in embedded System. I want to use PIC16F1827 to indicate the voltage level of my self made high voltage DC variable Power supply.
I have done all I could to make this work well but it turns the LED on for example >= 0.47 and could not wait until it gets to <= 0.40 before it turns the LED off. It suppose to wait until it decreases to <= 0.40 before it turns off.
Attached are the source file and the Proteus simulation circuit .
Thanks.
Michael.
I have done all I could to make this work well but it turns the LED on for example >= 0.47 and could not wait until it gets to <= 0.40 before it turns the LED off. It suppose to wait until it decreases to <= 0.40 before it turns off.
Attached are the source file and the Proteus simulation circuit .
Thanks.
Michael.
Attachments
-
554.1 KB Views: 12
-
122 KB Views: 4