Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im trying to send a character over UART in the 0x80 to 0xff range of my font to an InternalRAM String, but it is not displaying correctly, what do I do?

0
0 Posted

Im trying to send a character over UART in the 0x80 to 0xff range of my font to an InternalRAM String, but it is not displaying correctly, what do I do?

0
0

First, consult the documentation on the Amulet Communication Protocol and verify that you are using the correct number of DLE’s (0x10) to send your upper range characters over UART. If you still see the wrong character you may have the precision set too low. This example demonstrates displaying a single value in the font’s range 0xe0 to 0xff: You have to use two DLE’s, but you will also have to increase the precision to 3 because each character in that range effectively takes up one character in the precision. 0x10 0x10 0x20 are three characters in the string variable, even though only one character is displayed. Therefore, if you would like to display two characters in this range, you will increase the precision to 6. For the Amulet Communications Protocol, Click Here. For the Precision, part of the string field widget print parameter, Click Here.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123