Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with Esp8266 #5

Open
mttstt opened this issue Mar 4, 2020 · 2 comments
Open

Compatible with Esp8266 #5

mttstt opened this issue Mar 4, 2020 · 2 comments

Comments

@mttstt
Copy link

mttstt commented Mar 4, 2020

Hi, is it possible to make the library compatible with esp8266 as well?
Maybe just edit the following line of code in ABBAurora.cpp:

serial->begin(19200, SERIAL_8N1, RXGpioPin, TXGpioPin, false, 500);

with

if esp32 then serial->begin(19200, SERIAL_8N1, RXGpioPin, TXGpioPin, false, 500);
if esp8266 then serial->begin(???);
@jrbenito
Copy link
Owner

jrbenito commented Mar 9, 2020

@mttstt ,

I don't have access to an ABB Aurora inverter right now to test. If someone can test, and send PR, I will gladly accept it.

@palitu
Copy link

palitu commented Aug 20, 2020

Hi @mttstt , did you get a code set working on ESP8266?

i dont have the skill to convert it, and i looked at your fork, but couldnt compile it, due to "Serial2" not being defined.

any help would be good 👍
cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants