Closed adimux closed 1 year ago
@adimux Hi! Thanks for the issue and sorry for the long reply. You have the wrong pins in the firmware. Can you swap the RX and TX pins only in the code? So it has to be SoftwareSerial softwareSerial(17, 16);
. Please, let me know if it helps you.
@adimux Can you try the example code with a hardware serial?
@adimux Please try to use macros for pin mappings. Here's a header with pin mappings.
As seen in the schematics of ESP32 RX2 is PIN 16 and TX 2 is PIN 17.
I took your basic example but the device never seems to be "ready". I also tried to remove the "ready" condition to see if it's able to get any reading but it's always
- 1 ppm
.What did I do wrong? How can I debug this? Thank you!