james_sgp Active Member Licensed User Longtime User May 26, 2020 #1 Hi, I`m using In-Line C to print text onto an LCD display (which works), but banging my head against the wall on how to change this so I can send different text messages from the B4R code? C++: void writetext(B4R::Object* unused) { tft.setCursor(0, 0, 2); tft.setTextColor(TFT_GREEN,TFT_BLACK); tft.setTextFont(4); tft.println("HELLO"); }
Hi, I`m using In-Line C to print text onto an LCD display (which works), but banging my head against the wall on how to change this so I can send different text messages from the B4R code? C++: void writetext(B4R::Object* unused) { tft.setCursor(0, 0, 2); tft.setTextColor(TFT_GREEN,TFT_BLACK); tft.setTextFont(4); tft.println("HELLO"); }
Erel B4X founder Staff member Licensed User Longtime User May 26, 2020 #2 Constants strings: https://www.b4x.com/android/forum/threads/inline-and-strings.72208/post-459423 Upvote 0