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

Actually set 8N2 in uart.c ? #1

Open
daybyter opened this issue Jan 7, 2023 · 0 comments
Open

Actually set 8N2 in uart.c ? #1

daybyter opened this issue Jan 7, 2023 · 0 comments

Comments

@daybyter
Copy link

daybyter commented Jan 7, 2023

According to the Attiny2313 data sheet, I have, adding (1 << USBS) sets 2 stop bits and not 1 ?

Line 52:

// set frame format
UCSRC = (1 << USBS) | (3 << UCSZ0); // asynchron 8n1

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

1 participant