Serial.Write - accessing the ringbuffer

The internals of the HardwareSerial class are protected.

You could inherit from it, or write your own class entirely.

You'll have to decide what to do when the buffer is full. Maybe send the clock messages immediately?

Pieter