arduino-libraries / Ethernet

Ethernet Library for Arduino
http://arduino.cc/
259 stars 264 forks source link

On ESP8266, setSS() does not work when using GPIO16 as CS pin #139

Open rayshobby opened 4 years ago

rayshobby commented 4 years ago

On ESP8266, this works for all other GPIO pins except when GPIO 16 is used as CS: https://github.com/arduino-libraries/Ethernet/blob/75a3c37b5e513305b82e926ca6a4f8190f536c9d/src/utility/w5100.h#L415

Reference ESP8266's digitalWrite function: https://github.com/esp8266/Arduino/blob/master/cores/esp8266/core_esp8266_wiring_digital.cpp#L84