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:
Christian Ferbar 2021-03-29 22:26:24 +02:00 committed by GitHub
parent dffe2f0a7c
commit 91ad5ee962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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:
------------------------