X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=main.c;h=6d20042721cb8aebf0956e3c62fd80d47f0b1b58;hb=b8cc7d22ae11576cdf44ca2cd3b39d64e514a930;hp=1df9445283f715cef19fe969c49b468d0928d74b;hpb=77bec8ca2aa7d464cb5d3034a497e0ff8933864a;p=rgblamp.git diff --git a/main.c b/main.c index 1df9445..6d20042 100644 --- a/main.c +++ b/main.c @@ -3,26 +3,35 @@ * * PWM test program * - * PIC resources in use, 18-pin DIP, by pin: - * - ( 1) RA2 - unused - * - ( 2) RA3 - CCP3 PWM for blu LED - * - ( 3) RA4 - CCP4 PWM for wht LED. ICSP pin 6, PGM/LVP. - * - ( 4) RA5 - ICSP pin 1, MCLR#/Vpp - * - ( 5) Vss - * - ( 6) RB0 - pushbutton - * - ( 7) RB1 - unused - * - ( 8) RB2 - unused - * - ( 9) RB3 - CCP1 PWM for red LED - * - (10) RB4 - rocker switch position B (right) - * - (11) RB5 - rocker switch position A (left) - * - (12) RB6 - unused (future crystal) - * - (13) RB7 - unused (future crystal) - * - (14) Vdd - * - (15) RA6 - unused - * - (16) RA7 - CCP2 PWM for grn LED - * - (17) RA0 - unused - * - (18) RA1 - unused - * + * PIC resources in use, 28-pin DIP, by pin: + * - ( 1) RE3 - Vpp/MCLR# + * - ( 2) RA0 - unused + * - ( 3) RA1 - unused + * - ( 4) RA2 - unused + * - ( 5) RA3 - unused + * - ( 6) RA4 - unused (could become PGM/LVP, but apparently not needed) + * - ( 7) RA5 - unused + * - ( 8) Vss + * - ( 9) RA7 - unused + * - (10) RA6 - unused + * - (11) RC0 - T1OSO + * - (12) RC1 - T1OSI + * - (13) RC2 - CCP1 PWM for red LED + * - (14) RC3 - unused + * - (15) RC4 - unused + * - (16) RC5 - unused + * - (17) RC6 - unused + * - (18) RC7 - unused + * - (19) Vss + * - (20) Vdd + * - (21) RB0 - CCP4 PWM for wht LED + * - (22) RB1 - Pushbutton + * - (23) RB2 - Rocker switch, right + * - (24) RB3 - CCP2 PWM for grn LED + * - (25) RB4 - Rocker switch, left + * - (26) RB5 - CCP3 PWM for blu LED + * - (27) RB6 - ICSPCLK + * - (28) RB7 - ICSPDAT */ #include