Skip to content

Commit 372076c

Browse files
committed
Update readme to mention SPI support
1 parent 422a446 commit 372076c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ Only master mode works, and ```Wire.setClock``` has not been verified to give ex
103103
Before using I2C, pins for SDA and SCL need to be set by calling
104104
```Wire.pins(int sda, int scl)```, i.e. ```Wire.pins(0, 2);``` on ESP-01.
105105

106+
#### SPI ####
107+
108+
An initial SPI support for the HSPI interface (GPIO12-15) was implemented by [Sermus](https://github.com/Sermus).
109+
The implementation supports the entire Arduino SPI API including transactions, except setting phase and polarity as it's unclear how to set them in ESP8266 yet.
110+
106111
#### OneWire (from https://www.pjrc.com/teensy/td_libs_OneWire.html) ####
107112

108113
Library was adapted to work with ESP8266 by including register definitions into OneWire.h
@@ -132,7 +137,6 @@ toggle power).
132137

133138
- analogWrite (PWM). ESP8266 has only one hardware PWM source. It is not yet clear how to use it with analogWrite API. Software PWM is also an option, but apparently it causes issues with WiFi connectivity.
134139
- pulseIn
135-
- SPI. HSPI and bit-banging are two interfaces that will be supported.
136140
- I2C slave mode
137141
- Serial modes other than 8n1
138142
- WiFi.RSSI. SDK doesn't seem to have an API to get RSSI for the current network. So far the only

0 commit comments

Comments
 (0)