Professional Documents
Culture Documents
Comunicacion Serial Con La UART1 Del DSPIC
Comunicacion Serial Con La UART1 Del DSPIC
dim i as word
main:
Uart1_Init(2400)
while true
'adcRes = Adc_Read(1)
if Uart1_Data_Ready = 1 then
rx2 =Uart1_Read_Char
Uart1_Write_Char(rx2)
end if
wend
end.