Any tips on doing interrupt driven serial transmission in the Arduino ESP8266 world? I saw in the reference about a larger interrupt driven buffer for Serial, but am unsure how to use it. I looked in HardwareSerial.cpp and didn't see the ringbuffer. Am I looking in right spot or do I just need to use the ESP8266 API for this?
I'm referring to this - "Apart from hardware FIFO (128 bytes for TX and RX) HardwareSerial has additional 256-byte TX and RX buffers. Both transmit and receive is interrupt-driven. Write and read functions only block the sketch execution when the respective FIFO/buffers are full/empty."
I need to provide my own buffer or modify the existing one. Figured it would be HardwareSerial.ccp, but I'm not really that familiar with the Arduino specific stuff.
well, have it working but i'm getting breaks in my FIFO. for instance, if I try to send 4 bytes, it will sometimes skip a frame window. the data gets transmitted, just not immediately following the previous frame
for instance, 4x 6N1 frames inverted, attempting ws2811 via UART: