PIC18F14K50 I/O ピン設定用ページ (β)

[戻る]



P/UP/U
Vdd - 01
PIC18F14K50
20 - Vss
DIGITAL IN / OUT - 02(A5)(A0)19 - IN / OUTDIGITAL
D / A IN / OUT - 03(A4)(A1)18 - IN / OUTDIGITAL
DIGITAL IN / OUT - 04(A3)17 - VUSB
DIGITAL IN / OUT - 05(C5)(C0)16 - IN / OUT D / A
DIGITAL IN / OUT - 06(C4)(C1)15 - IN / OUT D / A
D / A IN / OUT - 07(C3)(C2)14 - IN / OUT D / A
D / A IN / OUT - 08(C6)(B4)13 - IN / OUT D / A
D / A IN / OUT - 09(C7)(B5)12 - IN / OUT D / A
DIGITAL IN / OUT - 10(B7)(B6)11 - IN / OUTDIGITAL



TRISA = 0b0; //0x0
TRISB = 0b0; //0x0
TRISC = 0b0; //0x0
ANSEL = 0b0; //0x0
ANSELH = 0b0; //0x0
WPUA = 0b0; //0x0
WPUB = 0b0; //0x0


NOTE: USB(D-):A1(pin18), USB(D+):A0(pin19),
PWM P1A:C5, PWM P1B:C4, PWM P1C:C3, PWM P1D:C2
USB needs External OSC (A4,A5)

backcolor of pin number is for pickit3 connection.
pin1 MCLR/Vpp
pin2 Vdd (V+) target
pin3 Vss (GND)
pin4 PGD (ICSPDAT)
pin5 PGC (ICSPCLK)

PIC18F14K50 official page
famous !!  



[back]

(c) 2018 FloatGarden All Right Reserved.