// Digital I/O Pins 54 (of which 12 provide PWM output)// Total DC Output Current on all I/O lines 130 mA
// INPUT AND OUTPUT// Digital I/O: pins from 0 to 53// Each of the 54 digital pins on the Due can be used as an input or output, using pinMode(), digitalWrite(), and digitalRead() functions. They operate at 3.3 volts. Each pin can provide (source) a current of 3 mA or 15 mA, depending on the pin, or receive (sink) a current of 6 mA or 9 mA, depending on the pin. They also have an internal pull-up resistor (disconnected by default) of 100 KOhm.