aboutsummaryrefslogtreecommitdiff
path: root/nicla/uart.py
diff options
context:
space:
mode:
Diffstat (limited to 'nicla/uart.py')
-rw-r--r--nicla/uart.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/nicla/uart.py b/nicla/uart.py
index 276f6d1..da150b0 100644
--- a/nicla/uart.py
+++ b/nicla/uart.py
@@ -16,14 +16,15 @@ def uart_send(byte):
__uart_buffer = bytearray()
def uart_flush():
global __uart_buffer
- print("UART FLUSH START")
+ # print("UART FLUSH START")
for byte in __uart_buffer:
- print(f"BYTE 0x{byte:02X}")
+ # print(f"BYTE 0x{byte:02X}")
uart_send(byte) # dit is de oplossing
udelay(2000)
uart_send(byte)
udelay(2000)
uart_send(byte)
+ udelay(2000)
__uart_buffer = bytearray()
def tx_irq_handler(pin):