Skip to content

Commit

Permalink
no default reset for i2c
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Jun 16, 2022
1 parent 673fc5d commit 30b8f30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ssd1306_128x32_i2c/ssd1306_128x32_i2c.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// On an arduino UNO: A4(SDA), A5(SCL)
// On an arduino MEGA 2560: 20(SDA), 21(SCL)
// On an arduino LEONARDO: 2(SDA), 3(SCL), ...
#define OLED_RESET 4 // Reset pin # (or -1 if sharing Arduino reset pin)
#define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin)
#define SCREEN_ADDRESS 0x3C ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

Expand Down
2 changes: 1 addition & 1 deletion examples/ssd1306_128x64_i2c/ssd1306_128x64_i2c.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
// On an arduino UNO: A4(SDA), A5(SCL)
// On an arduino MEGA 2560: 20(SDA), 21(SCL)
// On an arduino LEONARDO: 2(SDA), 3(SCL), ...
#define OLED_RESET 4 // Reset pin # (or -1 if sharing Arduino reset pin)
#define OLED_RESET -1 // Reset pin # (or -1 if sharing Arduino reset pin)
#define SCREEN_ADDRESS 0x3D ///< See datasheet for Address; 0x3D for 128x64, 0x3C for 128x32
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);

Expand Down

0 comments on commit 30b8f30

Please sign in to comment.