Advertisement
waravutbutrat

IPST_setTextColor

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