4
- period input PI
5
- counter input CI
6
- interrupt low-to-high IP
7
- interrupt high-to-low IN
8
- digital output DO
9
- digital output open collector OC
MMBasic Arduino
26pin header Allowable SETPIN
Referrence: Referrence Pin No. Configurations
PIN(1) →
ARDUINO.A0
21
AI, DI, , , , IP, IN, DO,
PIN(2) →
ARDUINO.A1
19
AI, DI, , , , IP, IN, DO,
PIN(3) →
ARDUINO.A2
17
AI, DI, , , , , , DO,
PIN(4) →
ARDUINO.A3
15
AI, DI, , , , , , DO,
PIN(5) →
ARDUINO.A4
13
AI, DI, FI, PI, CI, IP, IN, DO,
PIN(6) →
ARDUINO.A5
11
AI, DI, FI, PI, CI, IP, IN, DO,
PIN(7) →
ARDUINO.D10
9
AI, DI, FI, PI, CI, IP, IN, DO,
PIN(8) →
ARDUINO.D11
7
, DI, , , , , , DO, OC
PIN(9) →
ARDUINO.D12
5
, DI, , , , , , DO, OC
PIN(10)→
ARDUINO.D13
3
, DI, , , , , , DO, OC
PIN(11)→
ARDUINO.D0
4
, DI, , , , , , DO,
PIN(12)→
ARDUINO.D1
6
, DI, , , , , , DO,
PIN(13)→
ARDUINO.D2
8
, DI, , , , , , DO, OC
PIN(14)→
ARDUINO.D3
10
, DI, , , , , , DO, OC
PIN(15)→
ARDUINO.D4
12
, DI, , , , , , DO, OC
PIN(16)→
ARDUINO.D5
14
, DI, , , , , , DO, OC
PIN(17)→
ARDUINO.D6
16
, DI, , , , , , DO, OC
PIN(18)→
ARDUINO.D7
18
, DI, , , , , , DO, OC
PIN(19)→
ARDUINO.D8
20
AI, DI, , , , , , DO,
PIN(20)→
ARDUINO.D9
22
AI, DI, , , , , , DO,
GND→
GND (x3) 1,2,25,26
+5V→
+5v (1) 23
+3.3V →
+3.3v (1) 24
NOTE!!
The PIN(7), PIN(8), PIN(9), PIN(10) are marked with blue as they are multiplexed with SPI which is
used for UEXT and SD-card, this means that if UEXT or SD-card is accessed these lines will change
their states. Please do not use or use with care if you use also UEXT and SD-card operations in your
code.
PIN(19), PIN(20) are marked with blue as they are multiplexed with VGA.VSYNC and VGA.VIDEO-
DETECT. Please do not use or use with care if you use also VGA monitor.
Summary of Contents for DuinoMite
Page 27: ...4 SOFTWARE...