This is an old revision of the document!
This table details the function of each pin on the Digispark and any notes the are relevant.
| Pin Number | Output Voltage | Analogue Port Number analogRead() | PWM | USB | Test LED | I2C |
|---|---|---|---|---|---|---|
| 0 | 5 V | Y - 504 Hz | Rev 1 | SDA | ||
| 1 | 5 V | Y - 504 Hz | Rev 2 / 4 | |||
| 2 | 5 V | 1 | SCL | |||
| 3 | 3.6 V | 3 | Y - 1.5k Ohm to 5 V Zener diode (3.6 V maximum in- & output) | |||
| 4 | 3.6 V | 2 | Y - 1007 Hz | Y Zener diode (3.6 V maximum in- & output) | ||
| 5 | 3 V | 0 |