LCD does not print as expected, it prints some ASCII characters as string
LCD does not print as expected, it prints some ASCII characters as string
What characters exactly ? Also remember that the LCD DDRAM does not have all the characters, though it have most of them. Check the datasheet and see if the characters you need are present in the DDRAM. https://cdn-shop.adafruit.com/datasheets/TC1602A-01T.pdf (Page 15)
You can also use custom characters if you want. Check out https://controllerstech.com/custom-characters-in-lcd-1602-stm32/
The tutorial is written for STM32, but the concept is same.