summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--disp_proj.ino52
1 files changed, 0 insertions, 52 deletions
diff --git a/disp_proj.ino b/disp_proj.ino
index 7a937c4..704cf0d 100644
--- a/disp_proj.ino
+++ b/disp_proj.ino
@@ -66,59 +66,7 @@ void setup() {
for(;;); // Don't proceed, loop forever
}
- // Show initial display buffer contents on the screen --
- // the library initializes this with an Adafruit splash screen.
- display.display();
- delay(2000); // Pause for 2 seconds
-
- // Clear the buffer
- display.clearDisplay();
-
- // Draw a single pixel in white
- display.drawPixel(10, 10, SSD1306_WHITE);
-
- // Show the display buffer on the screen. You MUST call display() after
- // drawing commands to make them visible on screen!
- display.display();
- delay(2000);
- // display.display() is NOT necessary after every single drawing command,
- // unless that's what you want...rather, you can batch up a bunch of
- // drawing operations and then update the screen all at once by calling
- // display.display(). These examples demonstrate both approaches...
-
- testdrawline(); // Draw many lines
-
- testdrawrect(); // Draw rectangles (outlines)
-
- testfillrect(); // Draw rectangles (filled)
-
- testdrawcircle(); // Draw circles (outlines)
-
- testfillcircle(); // Draw circles (filled)
-
- testdrawroundrect(); // Draw rounded rectangles (outlines)
-
- testfillroundrect(); // Draw rounded rectangles (filled)
-
- testdrawtriangle(); // Draw triangles (outlines)
-
- testfilltriangle(); // Draw triangles (filled)
-
- testdrawchar(); // Draw characters of the default font
-
- testdrawstyles(); // Draw 'stylized' characters
-
- testscrolltext(); // Draw scrolling text
-
testdrawbitmap(); // Draw a small bitmap image
-
- // Invert and restore display, pausing in-between
- display.invertDisplay(true);
- delay(1000);
- display.invertDisplay(false);
- delay(1000);
-
- testanimate(logo_bmp, LOGO_WIDTH, LOGO_HEIGHT); // Animate bitmaps
}
void loop() {