Hello all, I'm struggling with the serial software library. My intention is to pass the data on the serial_hw_RX to the serial_sw_TX and the serial_sw_RX to the serial_hw_TX. Just to pass through some data.
This block works.
if PIR1_RCIF == 1 then
serial_hw_read(hwread)
delay_10us(1)
serial_sw_write(hwread)
hwread = 0
end if
And this one works:
if serial_sw_read(swread) then
delay_10us(1)
serial_hw_write(swread)
swread = 0
end if
But not together.
Does anyone know what the problem could be ?
Thnaks
Kind regards
Chris Peeters
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/9f3bd016-d6f7-411e-b034-f42e9a169b4f%40googlegroups.com.
Uit_16F88_hwserial_naar_swserial.jal
Description: Binary data
