Hi Bill,
I've used different baud rates, but I did not modify the serial libraries for
that. I just calculated the register values by hand and poked the different
values to the different registers. The baud rate calculation in the libraries
is not a thing which is good to be done at runtime. For certain baud rates, the
lib will refuse to compile and inform you, that your desired baud rate cannot
be set due to a deviation from the desired value which is to large to reliably
work. That can't be done at runtime for a start.
Greets,Kiste
Am Montag, 17. Oktober 2022, 15:39:54 MESZ hat Bill Beek
<[email protected]> Folgendes geschrieben:
Hello everyone, Is there anyone who has a solution to my problem. I am working
on a serial LCD now that I have this working, I want to select the baud rate
before running the program. Unfortunately, the "const serial_hw_baudate" do not
easily change. In the library "usart_common" I changed all the constants in a
variable "var dword" but I keep getting error messages from this lib. Maybe I'm
overlooking something, or is there a simple method to set the Baud rate under
software control. Kind regards, Bill
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/2b1be8c6-547c-4f0c-97bb-43fc851e4bf4n%40googlegroups.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/1359606717.1850252.1666018036595%40mail.yahoo.com.