adds support for the atmega328 (#9043)

Co-authored-by: Ryan <[email protected]>
This commit is contained in:
itsnoteasyandRyan authored and GitHub committed 2020-06-10 22:23:11 +01:00
1 parent e26bc21d14
commit 7aa4cc9603
12 files changed
+31 -12

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ No special setup is required - just connect the `SS`, `SCK`, `MOSI` and `MISO` p
|ATMega16/32U2/4|`B0`|`B1` |`B2` |`B3` |
|AT90USB64/128 |`B0`|`B1` |`B2` |`B3` |
|ATmega32A |`B4`|`B7` |`B5` |`B6` |
|ATmega328P |`B2`|`B5` |`B3` |`B4` |
|ATmega328/P |`B2`|`B5` |`B3` |`B4` |
You may use more than one slave select pin, not just the `SS` pin. This is useful when you have multiple devices connected and need to communicate with them individually.
`SPI_SS_PIN` can be passed to `spi_start()` to refer to `SS`.