Announcement

Collapse
No announcement yet.

Long strings not working.

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

  • Long strings not working.

    Sending a string from the Arduino to the TFT using the following:

    Code:
     TFT.WriteStr(0, "Hello");
    This string works and the String Object on the TFT displays the text.

    Now when I make the same string longer:

    Code:
    TFT.WriteStr(0, "Hello this long string will not print");
    Nothing shows up at all. Is the issue with how the String Object is configured in Workshop? I'm sure it's something simple but help would be welcome.



  • #2
    theres is an imposed limit set in the IDE options for genie to 75 i think, you might check there, increasing it would obviously use more memory, as explained when you see the option box for it. something must be wrong since your less than 75 chars. can you post your code and workshop zipped here for us to check? i presumed your using genie environment but this is the designer section of the forum, so not sure if you wrote a protocol yourself or not.

    Tony
    Last edited by tonton81; 23rd December 2017, 04:07 AM.

    Comment


    • #3
      That seems to fix the issue. The IDE Max string length was defaulted out to 10. Thanks for the help!

      Comment

      Working...
      X