KRITSADA

Multi Color Text on GLCD

Sep 30th, 2021
847
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <popx2.h>  // POP-X2 Board
  2. void setup() {
  3.   setTextSize(5);
  4.   glcdMode(3);
  5.   setTextColor(color[0]);glcd(1,1,"I");
  6.   setTextColor(color[1]);glcd(1,2,"N");
  7.   setTextColor(color[2]);glcd(1,3,"E");
  8.   setTextColor(color[3]);glcd(1,4,"X");
  9. }
  10. void loop() {}
RAW Paste Data