(cycle then repeats)
If we increase the capacitance of C it takes longer to charge and the clock is slower.
If we increase the resistance of R it takes longer to charge and the clock is slower.
+5v -------*-----------------------------*---------------
| |
| |
560k | D ,--------------,
R1 | |
| ,------|<-----------| Output1 |
| | | |
| R2 | |
| | 5k6 | PIC |
| | | |
*---*-------------------| Osc1 |
| | |
| | |
C1 | |
22pF | '--------------'
| |
| |
| |
Gnd -------*-----------------------------*---------------
Shown above is the simplest way for a PIC to change its own RC clock speed;