From 8edca67d9b427401d7e57131d2d58d6d8018c852 Mon Sep 17 00:00:00 2001 From: Kai Stevenson Date: Mon, 10 Jun 2024 15:12:17 -0700 Subject: test with only bitmap --- disp_proj.ino | 52 ---------------------------------------------------- 1 file changed, 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() { -- cgit v1.2.3-70-g09d2