write text

How i can write text on display through coding in s7g2 board ?

Parents Reply
  • Hi niku,

    Even though you would like to draw a simple string like "Hello world", you should draw it pixel-by-pixel. Assuming you have a buffer[width*height], the application needs to fill required pixels in the buffer like buffer[x + width*y] = pixel_data.

    This might be quite time-consuming to write a code drawing even a simple text (pixel "map" for each character). I would rather go with GUIX and prompt with a custom font if needed.

    Regards,
    adboc
Children