Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

TFT-LCD Text Font Broken

$
0
0

I have to use the OMAP-L138 and CCSv5. 

TFT-LCD is LTE430WQ-F07 (480 x 272) was used.

The example program uses startware. (usb_dev_bulk)

However, the text font is broken character to output.

The first character is the correct output. However, the following characters are broken.

What is the cause? The graphics are properly output.

===============================================================================
GrContextFontSet(&g_sContext, TEXT_FONT);
GrStringDrawCentered(&g_sContext, "ABCDEFGHIJKLMN", -1,
GrContextDpyWidthGet(&g_sContext) / 2, 10, 0);


// Show the various static text elements on the color STN display.
GrContextFontSet(&g_sContext, TEXT_FONT);
GrStringDraw(&g_sContext, "D", 1, 8, 100, false);
GrStringDraw(&g_sContext, "A", 1, 28, 100, false);
GrStringDraw(&g_sContext, "Y", 1, 48, 100, false);
GrStringDraw(&g_sContext, "AAAAA", -1, 8, 130, false);
GrStringDraw(&g_sContext, "TX BYTE:", -1, 8, 160, false);
GrStringDraw(&g_sContext, "Rx bytes:", -1, 8, 190, false);
================================================================================

Thank you.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>