Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo code for uart recieve? #6

Open
sumitmamoria opened this issue Nov 8, 2022 · 2 comments
Open

demo code for uart recieve? #6

sumitmamoria opened this issue Nov 8, 2022 · 2 comments

Comments

@sumitmamoria
Copy link

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

@IOsetting
Copy link
Owner

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.

@sumitmamoria
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants