UART TRANSMISSION
program BLINK
dim rd as byte ‘uart data variable
main:
UART1_Init(9600) ‘ Initialize UART module at 9600 bps
Delay_ms(100) ‘ Wait for UART module to stabilize
UART1_Write_Text(“haiii”)
while TRUE
wend
end.