Description: pic16f628a photoresistor detects ambient light, the analog comparator 1 input 16F628A internal comparator after RA0 C1OUT to 1, opened the door RB0 not output, the output is not close and then open the door RB0,
If the internal comparator C1OUT 0, opened the door RB0 output, this time against photoresistance ambient light, then opened the door to close RB0 output, while open photoresistance ambient light.
To Search:
File list (Check if you may need any files):
PIC16F628A\PIC16F628A.C
..........\PIC16F628A.cce
..........\PIC16F628A.cod
..........\PIC16F628A.cof
..........\PIC16F628A.hex
..........\PIC16F628A.lde
..........\PIC16F628A.lst
..........\PIC16F628A.map
..........\PIC16F628A.mcp
..........\PIC16F628A.mcs
..........\PIC16F628A.mcw
..........\PIC16F628A.mptags
..........\PIC16F628A.obj
..........\PIC16F628A.rlf
..........\PIC16F628A.sdb
..........\PIC16F628A.sym
..........\PIC16F628A.tagsrc
PIC16F628A