mirror of
https://github.com/javl/image2cpp.git
synced 2026-09-11 09:03:04 +00:00
update example script
This commit is contained in:
+3
-1
@@ -936,7 +936,9 @@ Adafruit_SSD1306 display(OLED_RESET);
|
|||||||
|
|
||||||
${arrayCode}
|
${arrayCode}
|
||||||
void setup() {
|
void setup() {
|
||||||
display.begin(SSD1306_SWITCHCAPVCC, 0x3D); // initialize with the I2C addr 0x3D (for the 128x64)
|
// initialize with the I2C addr 0x3D for the 128x64
|
||||||
|
// replace with 0x3C for the 128x32
|
||||||
|
display.begin(SSD1306_SWITCHCAPVCC, 0x3D);
|
||||||
|
|
||||||
display.clearDisplay(); // Make sure the display is cleared
|
display.clearDisplay(); // Make sure the display is cleared
|
||||||
// Draw the bitmap:
|
// Draw the bitmap:
|
||||||
|
|||||||
Reference in New Issue
Block a user