KRITSADA

glcdLine 4 line cross at center

Sep 30th, 2021
886
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.   glcdLine(0,0,128,160,GLCD_RED);
  4.   glcdLine(128,0,0,160,GLCD_RED);
  5.   glcdLine(0,80,128,80,GLCD_RED);
  6.   glcdLine(64,0,64,160,GLCD_RED);
  7. }
  8. void loop() {}
RAW Paste Data