New answers tagged uart
2
votes
Accepted
Software serial and RS485
TL;DR: The statement that "other libraries (and to extend, any other interrupt-driven software, for example your own) can potentially interfere with SoftwareSerial" is correct.
In your ...
1
vote
Missing data when communicating over UART
There are a couple of issues here:
while (Serial0.available() > 0) {
response[index++] = Serial0.read();
timeout = millis() + 1000;
}
First, the variable timeout is updated, but its value is ...
Top 50 recent answers are included
Related Tags
uart × 251serial × 102
arduino-uno × 47
softwareserial × 32
arduino-mega × 24
arduino-nano × 21
usb × 21
esp8266 × 18
esp32 × 18
communication × 17
atmega328 × 12
sensors × 10
i2c × 10
arduino-due × 9
spi × 8
bluetooth × 7
avr × 7
rs485 × 7
arduino-ide × 6
nodemcu × 6
pins × 6
gsm × 6
serial-data × 6
rs232 × 6
hardware × 5