A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.

User avatar
By fenechcarl
#66934 Dear reaper7

Thank you for sharing your SDM120 project. I am getting the following errors aswell. I installed the espsoftwareserial-master library as instructed in a previous post. "Sketch -> Include Library -> Add .zip library". However the errors remain.

Error Message:

Arduino: 1.6.9 (Windows 7), Board: "WeMos D1 R2 & mini, 80 MHz, 115200, 4M (3M SPIFFS)"

In member function 'float SDM<_speed, _rx_pin, _tx_pin, _dere_pin>::readVal(uint16_t)':

error: 'class SoftwareSerial' has no member named 'listen'
sdmSer.listen(); //enable softserial rx interrupt
error: 'class SoftwareSerial' has no member named 'end'
sdmSer.end(); //disable softserial rx interrupt

exit status 1
Error compiling for board WeMos D1 R2 & mini.

Your help would be greatly appreciated.
Thanks
User avatar
By reaper7
#66953 I don't know what is wrong,
look at espsoftwareserial library from:
https://github.com/plerup/espsoftwareserial

member "listen" line 60:
https://github.com/plerup/espsoftwarese ... rial.h#L60
member "end" line 61:
https://github.com/plerup/espsoftwarese ... rial.h#L61
User avatar
By skassa
#67095 Hello,
I worked for you?
If yes, could share your code , please?
I'm trying but, at the moment, I'm not able to receive data with MAx485 adapter.
Thanks.