Added pin mapping per CPU.
This commit is contained in:
parent
50d5b2bd94
commit
68fc351cbe
1 changed files with 8 additions and 6 deletions
|
|
@ -16,12 +16,14 @@
|
||||||
#include "google32.h"
|
#include "google32.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Pin Function ESP-8266 Pin
|
SD1331 Pin Arduino ESP8266 rPi
|
||||||
D1 IO, SCL GPIO5
|
1 GND
|
||||||
D2 IO, SDA GPIO4
|
2 VCC
|
||||||
D5 IO, SCK GPIO14
|
3 SCL/SCK/CLK/D0 13 GPIO14/D5 GPIO11/SPI0-SCLK
|
||||||
D7 IO, MOSI GPIO13
|
4 SDA/MOSI/D1 11 GPIO13/D7 GPIO10/SPI0-MOSI
|
||||||
D8 IO, 10k Pull-down, SS GPIO15
|
5 RES/RST 9 GPIO15/D8 GPIO24
|
||||||
|
6 DC/A0 (data) 8 GPIO05/D1 GPIO23
|
||||||
|
7 CS 10 GPIO04/D2 GPIO08
|
||||||
*/
|
*/
|
||||||
// You can use any (4 or) 5 pins
|
// You can use any (4 or) 5 pins
|
||||||
// hwspi hardcodes those pins, no need to redefine them
|
// hwspi hardcodes those pins, no need to redefine them
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue