Advertisement
KRITSADA

GLCDRect 4 rect at center

Sep 30th, 2021
1,540
0
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.   glcdRect(0,0,128,160,GLCD_YELLOW);
  4.   glcdRect(10,10,108,140,GLCD_YELLOW);
  5.   glcdRect(20,20,88,120,GLCD_YELLOW);
  6.   glcdRect(30,30,68,100,GLCD_YELLOW);
  7. }
  8. void loop() {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement