Created
October 24, 2020 08:16
-
-
Save parasquid/e5d69ca19103cd2b72faf03d4e68dced to your computer and use it in GitHub Desktop.
PAN1780 to Arduino pinmapping in Espruino
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
const P1_01 = 33; | |
const P1_02 = 34; | |
const P1_12 = 44; | |
const P1_13 = 45; | |
const P1_14 = 46; | |
const A = { | |
MOSI: 11, | |
MISO: 12, | |
SCK: 13, | |
SDA: 28, | |
SCL: 29, | |
A0: 30, | |
A1: 31, | |
A2: 2, | |
A3: 3, | |
A4: 28, | |
A5: 29, | |
D0: P1_01, | |
D1: P1_02, | |
D2: P1_12, | |
D3: P1_13, | |
D4: P1_14, | |
D5: 5, | |
D6: 6, | |
D7: 7, | |
D8: 8, | |
D9: 21, | |
D10: 17, | |
D11: 22, | |
D12: 19, | |
D13: 20, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment