Skip to content

support for esp8266 serial, UART_TO_MQTT#2183

Open
orrpan wants to merge 1 commit intoxoseperez:devfrom
orrpan:arduino_serial
Open

support for esp8266 serial, UART_TO_MQTT#2183
orrpan wants to merge 1 commit intoxoseperez:devfrom
orrpan:arduino_serial

Conversation

@orrpan
Copy link
Copy Markdown
Contributor

@orrpan orrpan commented Mar 17, 2020

No description provided.

#define UART_MQTT_USE_SOFT 0
#define UART_MQTT_HW_PORT Serial
#define UART_MQTT_BAUDRATE 115200
#define TERMINAL_SUPPORT 0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at terminal.ino, it never calls Serial.read() unless debug_serial_support flag is on (which is off here).

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this comment was meant to point to the disabled TERMINAL_SUPPORT)

@mcspr
Copy link
Copy Markdown
Collaborator

mcspr commented Mar 17, 2020

You are using out-of-date branch btw, there is no need in migrate.ino and platformio.ini was changed considerably

@orrpan
Copy link
Copy Markdown
Contributor Author

orrpan commented Mar 17, 2020

True, might do a new PR instead. But it works really fine with #define debug_serial_support 0. Shouldn't it work? I'm getting responses on ESPURNA-######/uartin.
Testing it with three PWM fans connected to an arduino nano. https://github.com/orrpan/arduino_pwm_fan/blob/master/arduino_pwm_fan.ino

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

Successfully merging this pull request may close these issues.

2 participants