mapping table: arduino uno pin / IC port
2019/09/19 13:49
瀏覽90
迴響0
推薦0
引用0
0 PORTD 0
1 PORTD 1
2 PORTD 4
3 PORTD 5
4 PORTD 5
5 PORTD 3
6 PORTD 3
7 PORTD 4
8 PORTB 0
9 PORTB 1
10 PORTB 2
11 PORTB 3
12 PORTB 4
13 PORTB 5
A0 PORTC 0
A1 PORTC 1
A2 PORTC 2
A3 PORTC 3
A4 PORTC 4
A5 PORTC 5
PORTD maps to Arduino digital pins 0 to 7
DDRD - The Port D Data Direction Register - read/write
PORTD - The Port D Data Register - read/write
PIND - The Port D Input Pins Register - read only
PORTB maps to Arduino digital pins 8 to 13 The two high bits (6 & 7) map to the crystal pins and are not usable
DDRB - The Port B Data Direction Register - read/write
PORTB - The Port B Data Register - read/write
PINB - The Port B Input Pins Register - read only
PORTC maps to Arduino analog pins 0 to 5. Pins 6 & 7 are only accessible on the Arduino Mini
DDRC - The Port C Data Direction Register - read/write
PORTC - The Port C Data Register - read/write
PINC - The Port C Input Pins Register - read only
自訂分類:_arduino
上一則: arduino sketch code over 64k mega2560下一則: mapping table: arduino mega pin / IC port
你可能會有興趣的文章:
限會員,要發表迴響,請先登入

