I2C
I2C can be used to connect up to 127 nodes via a bus that only requires two data wires, known asSDA
andSCL
.
- SDA=4 => D2.
- SCL=5 => D1
SPI
SPI is much simpler than I2C. Master and slave are linked by three data wires, usually called MISO, (Master in, Slave out), MOSI (Master out, Slave in) and M-CLK.
- M-CLK => D5
- MISO => D6
- MOSI => D7
(SPI Bus SS (CS)is D8.)
I found it here: https://steve.fi/Hardware/nodemcu-pins/
Niciun comentariu:
Trimiteți un comentariu