Am Mo., Nov. 4, 2019 at 13:59 schrieb 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 jallib+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/9f3bd016-d6f7-411e-b034-f42e9a169b4f%40googlegroups.com.
Hi!Serial_sw_read is blocking, the function will not return until a byte ist received. Serial_sw_read can only be used alone, you can't do anything else while waiting for a byte.Greets
Am Mo., Nov. 4, 2019 at 13:59 schrieb Chris Peeters
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 thenserial_hw_read(hwread)delay_10us(1)serial_sw_write(hwread)hwread = 0end ifAnd this one works:if serial_sw_read(swread) thendelay_10us(1)serial_hw_write(swread)swread = 0end ifBut not together.Does anyone know what the problem could be ?ThnaksKind regardsChris 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 jal...@googlegroups.com.