Feb 26, 2019
12:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 26, 2019
12:28 AM
Hello,
I am using a thermal printer via UART, and I need to send ASCII extended characters to printer. The function that I used to send is UART_PutChar. Is there any way to send characters like Ç, Ã or Ê? PSoC marks these characters as a warning and the printer prints wrong characters.
Thanks in advance
1 Reply
Feb 26, 2019
12:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 26, 2019
12:55 AM
Did you try sending the equivalent hex code in the putchar() function? Like putchar(0x64),
Another way is using the studio.h library you can write the message with the sprintf(variable,"messaged format", values) and later using put(variable) you can include cr and lf