Advertisement
Kru-aorio

IPST setTextColor Example

Jun 24th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <ipst.h>
  2.  
  3. void setup()
  4. {
  5.   OK();// Wait for OK button
  6.   setTextColor (GLCD_RED);
  7.   glcd(0,0, "a");
  8.   setTextColor (GLCD_BLUE);
  9.   glcd(0,1, "o");
  10.   setTextColor (GLCD_CYAN);
  11.   glcd(0,2, "r");
  12.   setTextColor (GLCD_MAGENTA);
  13.   glcd(0,3, "i");
  14.   setTextColor (GLCD_DOLLAR);
  15.   glcd(0,4, "o");
  16. }
  17.  
  18. void loop()
  19. {
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement