Advertisement
Jaturapad

IPST setTextColor Example

Jun 24th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. #include <ipst.h>
  2.  
  3. void setup(){
  4.   setTextColor(GLCD_RED);
  5.   glcd(0,0,"Hello");
  6.   setTextColor(GLCD_GREEN);
  7.   glcd(1,0,"World");
  8.   setTextColor(GLCD_MAGENTA);
  9.   glcd(2,0,"Jaturapad Pratoom");
  10.   setTextColor(GLCD_MAGENTA);
  11.   glcd(3,0,"I");
  12.   setTextColor(GLCD_RED);
  13.   glcd(3,1,"N");
  14.   setTextColor(GLCD_BLUE);
  15.   glcd(3,2,"E");
  16.   setTextColor(GLCD_GREEN);
  17.   glcd(3,3,"X");
  18. }
  19.  
  20. void loop(){}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement