daniel-jong / esp8266_p1meter

DSMR5 P1 meter to mqtt using esp8266
GNU General Public License v3.0
145 stars 54 forks source link

Question #include <SoftwareSerial.h> #13

Closed Groofertje closed 2 years ago

Groofertje commented 2 years ago

I found several "SoftwareSerial" libs in platformIO, but all give me a error. Can you tell me witc lib i have to use and declare in platformio.ini Tx

Srr for poor english

daniel-jong commented 2 years ago

Hi, This library does not use the Software serial lib, so you actually should not be using any.

However I see that the line 11 of esp8266_p1meter.ino is unwanted and should be removed, but I seemed to have missed that. #include <SoftwareSerial.h> <== remove this line Then you should be able to compile the ino file without needing SoftwareSerial.

Groofertje commented 2 years ago

Tx for your response

Verzonden vanuit Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 voor Windows

Van: Daniel de @.> Verzonden: dinsdag 14 december 2021 14:28 Aan: @.> CC: Guillaume @.>; @.> Onderwerp: Re: [daniel-jong/esp8266_p1meter] Question #include (Issue #13)

Hi, This library does not use the Software serial lib, so you actually should not be using any.

However I see that the line 11 of esp8266_p1meter.ino is unwanted and should be removed, but I seemed to have missed that.

include <== remove this line

Then you should be able to compile the ino file without needing SoftwareSerial.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/daniel-jong/esp8266_p1meter/issues/13#issuecomment-993539238, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGFNVYQPNSB3BZM5ZWSRFYLUQ5BANANCNFSM5JOM5WLQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.