PIC12F617 Comparator not working
Posted: Sat Oct 03, 2020 8:48 am
Hello Anyone,
an old project is running under Flowcode V6. Now under V8 is a other compiler. There I couldn`t get the comparator working. May be, that the syntax is not correct writtten from me. Program is in the attachment. Analog in is on pin6, reference is set to intern. The dedicated flag is read out and sets the output to high or low. A smal program. But I get it not running. Is there anyone, who have an idea?
Best regards
Jörg
an old project is running under Flowcode V6. Now under V8 is a other compiler. There I couldn`t get the comparator working. May be, that the syntax is not correct writtten from me. Program is in the attachment. Analog in is on pin6, reference is set to intern. The dedicated flag is read out and sets the output to high or low. A smal program. But I get it not running. Is there anyone, who have an idea?
Best regards
Jörg