avaldebe / PMserial

Arduino library for PM sensors with serial interface
MIT License
53 stars 21 forks source link

Hardware Serial1 on ESP32 #1

Closed szerwi closed 5 years ago

szerwi commented 5 years ago

Is it possible to start sensor on Hardware Serial1 on ESP32? I found this guide about how to enable Serial1 on ESP32, but the sensor is not working on pins 2 and 4. https://hackaday.com/2017/08/17/secret-serial-port-for-arduinoesp32/

szerwi commented 5 years ago

I've set the pins in code and it worked.