-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from makermelissa/master
Added Raspberry Pi Compute Module Support
- Loading branch information
Showing
3 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
"""Pin definitions for Raspberry Pi Compute Modules.""" | ||
|
||
from adafruit_blinka.microcontroller.bcm283x import pin | ||
|
||
D2 = pin.D2 | ||
SDA = pin.SDA | ||
D3 = pin.D3 | ||
SCL = pin.SCL | ||
|
||
D4 = pin.D4 | ||
D5 = pin.D5 | ||
D6 = pin.D6 | ||
|
||
D7 = pin.D7 | ||
CE1 = pin.D7 | ||
D8 = pin.D8 | ||
CE0 = pin.D8 | ||
D9 = pin.D9 | ||
MISO = pin.D9 | ||
D10 = pin.D10 | ||
MOSI = pin.D10 | ||
D11 = pin.D11 | ||
SCLK = pin.D11 | ||
SCK = pin.D11 | ||
|
||
D12 = pin.D12 | ||
D13 = pin.D13 | ||
|
||
D14 = pin.D14 | ||
TXD = pin.D14 | ||
D15 = pin.D15 | ||
RXD = pin.D15 | ||
|
||
D16 = pin.D16 | ||
D17 = pin.D17 | ||
D18 = pin.D18 | ||
D19 = pin.D19 | ||
MISO_1 = pin.D19 | ||
D20 = pin.D20 | ||
MOSI_1 = pin.D20 | ||
D21 = pin.D21 | ||
SCLK_1 = pin.D21 | ||
SCK_1 = pin.D21 | ||
D22 = pin.D22 | ||
D23 = pin.D23 | ||
D24 = pin.D24 | ||
D25 = pin.D25 | ||
D26 = pin.D26 | ||
D27 = pin.D27 | ||
D28 = pin.D28 | ||
D29 = pin.D29 | ||
D30 = pin.D30 | ||
D31 = pin.D31 | ||
D32 = pin.D32 | ||
D33 = pin.D33 | ||
D34 = pin.D34 | ||
D35 = pin.D35 | ||
D36 = pin.D36 | ||
D37 = pin.D37 | ||
D38 = pin.D38 | ||
D39 = pin.D39 | ||
D40 = pin.D40 | ||
MISO_2 = pin.D40 | ||
D41 = pin.D41 | ||
MOSI_2 = pin.D41 | ||
D42 = pin.D42 | ||
SCLK_2 = pin.D42 | ||
SCK_2 = pin.D43 | ||
D43 = pin.D43 | ||
D44 = pin.D44 | ||
D45 = pin.D45 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters