Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ weight = 30
name = "<i class='fab fa-slack'></i> Slack"
url = "https://gophers.slack.com/messages/CDJD3SUP6/"
weight = 40

[markup.goldmark.renderer]
# Allow raw HTML and JavaScript.
unsafe = true
25 changes: 25 additions & 0 deletions content/microcontrollers/arduino-nano.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,31 @@ Note: the AVR backend of LLVM is still experimental so you may encounter bugs.
| ADC | YES | YES |
| PWM | YES | YES |

## Pins

| Pin | Hardware pin | PWM
| ------------ | ------------ | ----------------
| `D0` | `PD0` |
| `D1` | `PD1` |
| `D2` | `PD2` |
| `D3` | `PD3` | `Timer2`
| `D4` | `PD4` |
| `D5` | `PD5` | `Timer0`
| `D6` | `PD6` | `Timer0`
| `D7` | `PD7` |
| `D8` | `PB0` |
| `D9` | `PB1` | `Timer1`
| `D10` | `PB2` | `Timer1`
| `D11` | `PB3` | `Timer2`
| `D12` | `PB4` |
| `D13`, `LED` | `PB5` |
| `ADC0` | `PC0` |
| `ADC1` | `PC1` |
| `ADC2` | `PC2` |
| `ADC3` | `PC3` |
| `ADC4` | `PC4` |
| `ADC5` | `PC5` |

## Machine Package Docs

[Documentation for the machine package for the Arduino Nano](../machine/arduino-nano)
Expand Down
27 changes: 27 additions & 0 deletions content/microcontrollers/arduino-nano33-iot.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,33 @@ The [Arduino Nano33 IoT](https://store.arduino.cc/nano-33-iot) is a very small A
| ADC | YES | YES |
| PWM | YES | YES |

## Pins

| Pin | Hardware pin | PWM
| ------------ | ------------ | ----------------
| `RX0` | `PB23` |
| `TX1` | `PB22` |
| `D2` | `PB10` | `TCC0`
| `D3` | `PB11` | `TCC0`
| `D4` | `PA07` | `TCC1`
| `D5` | `PA05` | `TCC0`
| `D6` | `PA04` | `TCC0`
| `D7` | `PA06` | `TCC1`
| `D8` | `PA18` | `TCC0`
| `D9` | `PA20` | `TCC0`
| `D10` | `PA21` | `TCC0`
| `D11` | `PA16` | `TCC2`, `TCC0`
| `D12` | `PA19` | `TCC0`
| `D13`, `LED` | `PA17` | `TCC2`, `TCC0`
| `A0` | `PA02` |
| `A1` | `PB02` |
| `A2` | `PA11` | `TCC1`, `TCC0`
| `A3` | `PA10` | `TCC1`, `TCC0`
| `A4` | `PB08` |
| `A5` | `PB09` |
| `A6` | `PA09` | `TCC0`, `TCC1`
| `A7` | `PB03` |

## Machine Package Docs

[Documentation for the machine package for the Arduino Nano33 IoT](../machine/arduino-nano33)
Expand Down
25 changes: 25 additions & 0 deletions content/microcontrollers/arduino-uno.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,31 @@ Note: the AVR backend of LLVM is still experimental so you may encounter bugs.
| ADC | YES | YES |
| PWM | YES | YES |

## Pins

| Pin | Hardware pin | PWM
| ------------ | ------------ | ----------------
| `D0` | `PD0` |
| `D1` | `PD1` |
| `D2` | `PD2` |
| `D3` | `PD3` | `Timer2`
| `D4` | `PD4` |
| `D5` | `PD5` | `Timer0`
| `D6` | `PD6` | `Timer0`
| `D7` | `PD7` |
| `D8` | `PB0` |
| `D9` | `PB1` | `Timer1`
| `D10` | `PB2` | `Timer1`
| `D11` | `PB3` | `Timer2`
| `D12` | `PB4` |
| `D13`, `LED` | `PB5` |
| `ADC0` | `PC0` |
| `ADC1` | `PC1` |
| `ADC2` | `PC2` |
| `ADC3` | `PC3` |
| `ADC4` | `PC4` |
| `ADC5` | `PC5` |

## Machine Package Docs

[Documentation for the machine package for the Arduino Uno](../machine/arduino)
Expand Down
28 changes: 28 additions & 0 deletions content/microcontrollers/arduino-zero.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,34 @@ The [Arduino Zero](https://store.arduino.cc/arduino-zero) is a very small ARM de
| ADC | YES | YES |
| PWM | YES | YES |

## Pins

| Pin | Hardware pin | PWM
| ------------- | ------------ | ----------------
| `D0` | `PA11` | `TCC1`, `TCC0`
| `D1` | `PA10` | `TCC1`, `TCC0`
| `D2` | `PA14` | `TCC0`
| `D3` | `PA09` | `TCC0`, `TCC1`
| `D4` | `PA08` | `TCC0`, `TCC1`
| `D5` | `PA15` | `TCC0`
| `D6` | `PA20` | `TCC0`
| `D7` | `PA21` | `TCC0`
| `D8` | `PA06` | `TCC1`
| `D9` | `PA07` | `TCC1`
| `D10` | `PA18` | `TCC0`
| `D11` | `PA16` | `TCC2`, `TCC0`
| `D12` | `PA19` | `TCC0`
| `D13`, `LED` | `PA17` | `TCC2`, `TCC0`
| `LED2` | `PA27` |
| `LED3` | `PB03` |
| `AREF` | `PA03` |
| `A0` | `PA02` |
| `A1` | `PB08` |
| `A2` | `PB09` |
| `A3` | `PA04` | `TCC0`
| `A4` | `PA05` | `TCC0`
| `A5` | `PA02` |

## Machine Package Docs

[Documentation for the machine package for the Arduino Zero](../machine/arduino-zero)
Expand Down
14 changes: 14 additions & 0 deletions content/microcontrollers/circuit-playground-express.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,20 @@ The [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333)
| ADC | YES | YES |
| PWM | YES | YES |

## Pins

| Pin | Hardware pin | PWM
| ------------ | ------------ | ----------------
| `A0` | `PA02` |
| `A1` | `PA05` | `TCC0`
| `A2` | `PA06` | `TCC1`
| `A3` | `PA07` | `TCC1`
| `A4` | `PB03` |
| `A5` | `PB02` |
| `A6` | `PB09` |
| `A7` | `PB08` |
| `D13`, `LED` | `PA17` | `TCC2`, `TCC0`

## Machine Package Docs

[Documentation for the machine package for the Circuit Playground Express](../machine/circuitplay-express)
Expand Down
Loading