Announcement

Collapse
No announcement yet.

Writing to Static Text

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Writing to Static Text

    Hello,

    A very common question I am guessing but new to 4D systems programming in Arduino. Am I able to write to static text objects with strings, calculated integers that contain a value?

  • #2
    Hi,

    Welcome to the forum.

    You won't be able to write to a static text box.

    If you are using Visi-Genie the Strings object is very versatile when using the genieArduino library and allows you to send different data types directly using WriteStr.

    If you are using Serial SPE you can use,

    Display.gfx_MoveTo(x, y);
    Display.print(value);

    to achieve the same effect

    This is an appnote for Visi-Genie

    https://docs.4dsystems.com.au/app-note/4D-AN-00013

    And this for Serial SPE

    https://docs.4dsystems.com.au/app-note/4D-AN-00089

    I hope this helps

    Best regards

    Paul

    Comment

    Working...
    X