Thanks in advance.
Please read the topic "How to get the best out of this forum." and use what's told there.
can the device you are attempting to connect too interface using I2C which is certaily possible using a ESP-01?
I wanted to use it with ADXL345.
the adxl345 datasheet say it has both SPI and I2C interfaces
I have connected a LSM9DS1 9-axis iNEMO inertial module to a ESP-01S using I2C so
you set up the I2C interface in the code so
Wire.begin(0, 2); // for ESP-01 I2C use pins GPIO0 (SDA) and GPIO2 (SCL)
Thanks but any idle about the MISO, MOSI, SCK AND CS PINS?
you may be able to map the SPI to the ESP-01 GPIO0, GPIO1, GPIO2 amd GPIO3 pins (you would have no serial available)
never tried it though
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.