Search found 2 matches

by AugustQ
Tue Apr 14, 2020 1:01 pm
Forum: General Discussion
Topic: problem with HardwareSerial
Replies: 1
Views: 4190

Re: problem with HardwareSerial

OK, my fault, in parts. But it still does not work. My fault: I got the latest version of the library and modified my code to use // sdsSerial.begin(9600, SERIAL_8N1, ESP_PIN_RX, ESP_PIN_TX); // sdsSensor.begin (&sdsSerial); // <== crashes here sdsSensor.begin( &sdsSerial, ESP_PIN_RX, ESP_PIN_TX); N...
by AugustQ
Tue Apr 14, 2020 11:59 am
Forum: General Discussion
Topic: problem with HardwareSerial
Replies: 1
Views: 4190

problem with HardwareSerial

Hi, I'm new here and I do not know if this is the right forum here. But I do have problems with HardwareSerial. So I want to ask: what's wrong with my code? Here is a stripped down version of my code: #include "HardwareSerial.h" #include "SDS011.h" HardwareSerial sdsSerial(2); #define ESP_PIN_TX 12 ...