Hi,
I use esp8266 to connect to 4 relay, 1 SPI(Lora module), 1 interrupt pin, 1 i2c. I lack 1 pin for I2C.
Here's what my sketch does:
The SPI is a LORA module(4 SPI pin, 1 busy pin) which keep listening for incoming command. The I2C will read data from sensors every 5 minutes or when it get command from the LORA.
Anyway to share the SPI pins with the i2c without interrupting its listening operation and without causing the i2c trouble while the SPI is working?