Advertisement
waravutbutrat

IPST_setTextSize And setMode

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