FwLib_STC8 icon indicating copy to clipboard operation
FwLib_STC8 copied to clipboard

demo code for uart recieve?

Open sumitmamoria opened this issue 3 years ago • 2 comments

Do you have a demo code or snippet for UART receive mode ?

sumitmamoria avatar Nov 08 '22 04:11 sumitmamoria

There was a demo of UART1 tx and rx, but the implementation was not quite right, so I rewrote it and changed the lib a little bit. You can find the demo at demo/uart/uart1_timer2_rx.c. This has been tested on a STC8H3K64S2.

IOsetting avatar Nov 10 '22 04:11 IOsetting

@IOsetting Thanks for the quick response. Will try it on the hardware and let you know.

sumitmamoria avatar Nov 10 '22 13:11 sumitmamoria