mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-25 17:17:54 +01:00
SPI: fix Example (#1076)
The right pins for ESP8266 and ESP32 are GPIO12-GPI14. GPIO21-23 is not available on an ESP8266, on an ESP32 it is I2C, maybe it was copy&paste from I2C?
This commit is contained in:
parent
dffe2f0a7c
commit
91ad5ee962
@ -31,9 +31,9 @@ rarely be necessary, as the SPI bus can be shared by the devices).
|
||||
|
||||
# Example configuration entry
|
||||
spi:
|
||||
clk_pin: GPIO21
|
||||
mosi_pin: GPIO22
|
||||
miso_pin: GPIO23
|
||||
clk_pin: GPIO14
|
||||
mosi_pin: GPIO13
|
||||
miso_pin: GPIO12
|
||||
|
||||
Configuration variables:
|
||||
------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user