
Originally Posted by
RodSTAR
...
anyway i found that your POT & CCPR1L line is amazing !
Thanks.
If you like to use a PIC with on board ADC and PWM modules, like 16F877 or 12F683, then you can also use a single line as below.
Code:
ADCIN 0, CCPR1L
'This will read Analog channel 0
'and put on PWM register right away.
If you like to use F628 with POT command, then make sure that the pot is not connected to "input only" pins. Pin must be a bi-directional pin.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks