Hi All,
I tried to program the 12F615 to output PWM at pin 5, with respect to the analog input from pin 7 (LDR voltage).
The code compiled and programmed successfully to target chip.
But when ON, it had no output at pin 5, with respect brightness of the light. The circuit patching had no problem.
The codes is attached, please any advice? Thanks.
Chan
I tried to program the 12F615 to output PWM at pin 5, with respect to the analog input from pin 7 (LDR voltage).
The code compiled and programmed successfully to target chip.
But when ON, it had no output at pin 5, with respect brightness of the light. The circuit patching had no problem.
The codes is attached, please any advice? Thanks.
Chan
Attachments
-
156.6 KB Views: 94
-
975 bytes Views: 86