KRITSADA

glcdFillRect 4 Rect

Sep 30th, 2021
911
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.   glcdFillRect(0,0,64,80,GLCD_YELLOW);
  4.   glcdFillRect(64,0,64,80,GLCD_RED);
  5.   glcdFillRect(0,80,64,80,GLCD_GREEN);
  6.   glcdFillRect(64,80,64,80,GLCD_BLUE);
  7. }
  8. void loop() {}
RAW Paste Data