Hello. Attempting to get at data for the Serial1 registers on a pro micro. I’m looking at the 32U4 documentation and am in a bit over my head. I am wanting the following bit of code, but for the pro micro serial1:
while (!(UCSR0A & (1 << UDRE0))) // Wait for empty transmit buffer UCSR0A |= 1 << TXC0; // mark transmission not complete while (!(UCSR0A & (1 << TXC0))); // Wait for the transmission to complete
And going forward, how would I interpret that bit of code and modify it myself, given the documentation?
Thanks for any help.