The method `availableForWrite` is not implemented in the UART class and currently returns 0 in all cases.