You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the problem is the SPI.begin and SPI.beginTransaction() in line 31-33.
Comment it out in ADS1256.cpp, and call it when you initiate SPI in void setup()
// Start SPI on a quarter of ADC clock speed
SPI.begin();
SPI.beginTransaction(
SPISettings(clockspdMhz * 1000000 / 4, MSBFIRST, SPI_MODE1));
´´´
A good idea could do to remove this from the library, and add it to an example isntead.
@mglavind thank you!!! i spent a whole day AND night on this, it's currently 4:30 in the morning, and i thought nothing would help. this issue really has to be fixed asap!!!
When i bult and upload the script to the ESP32, it feedback "success", but the script stops after I create the adc object with the following code.
Do you have any good ideas, on how to fix this?
Setup
ESP-32 Devkit-c v4
PlatformIO
The text was updated successfully, but these errors were encountered: