Skip to content

Commit 53db855

Browse files
committed
add missing schematics for 128x64 screen display
1 parent ee7cf41 commit 53db855

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

Test-rotary-encoder-volume/Test-rotary-encoder-volume.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Requires Project-HID lib https://github.com/NicoHood/HID
1+
// Requires Project-HID lib https://github.com/NicoHood/HID
22
// Requires encoder lib https://www.pjrc.com/teensy/td_libs_Encoder.html
33

44
#include <Encoder.h>

Test-screen-SSD1306-128x64-SeeedOled/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
To learn more on OLED display (how to wire it), check the [README](../Test-screen-SSD1306-128x64-adafruit/README.md) in the `Test-screen-SSD1306-128x64-adafruit` folder
44

5+
## Schema
6+
7+
![Schema](../Test-screen-SSD1306-128x64-adafruit/schema.png)
8+
59
## Code
610

711
This test uses 2 libraries:

Test-screen-SSD1306-128x64-arduino-lib-oled/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
To learn more on OLED display (how to wire it), check the [README](../Test-screen-SSD1306-128x64-adafruit/README.md) in the `Test-screen-SSD1306-128x64-adafruit` folder
44

5+
## Schema
6+
7+
![Schema](../Test-screen-SSD1306-128x64-adafruit/schema.png)
8+
59
## Code
610

711
This test uses 1 library:

Test-screen-SSD1306-128x64-sparkfunMicroOled/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ This test uses 2 libraries:
88
* [SparkFun Micro OLED Arduino Library](https://github.com/sparkfun/SparkFun_Micro_OLED_Arduino_Library)
99
* [Wire Library (official Arduino lib)](https://www.arduino.cc/en/Reference/Wire) (dependency of the one above, allows to communicate with I2C devices)
1010

11-
The Sparkfun Library is quite heavy, unfortunately, and it's very limited because of its un-changeable display size. I didn't take the time to create my own program here, I just took the example one and modified it a bit. I don't recommend using this lib, there are other ones that are better and more optimized.
11+
The Sparkfun Library is quite heavy, unfortunately, and it's very limited because of its un-changeable display size (**64x48px**). I didn't take the time to create my own program here, I just took the example one and modified it a bit. I don't recommend using this lib, there are other ones that are better and more optimized.
1212

1313
I'm running this program on a Pro Micro. The compiler indicates 11886 bytes (41%) of program space used, 819 bytes (31%) of dynamic memory. The logoBitmap variable takes 1130 bytes of program space on its own (14110 bytes (49%) without it).

Test-screen-SSD1306-128x64-u8g2/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
To learn more on OLED display (how to wire it), check the [README](../Test-screen-SSD1306-128x64-adafruit/README.md) in the `Test-screen-SSD1306-128x64-adafruit` folder
44

5+
## Schema
6+
7+
![Schema](../Test-screen-SSD1306-128x64-adafruit/schema.png)
8+
59
## Code
610

711
This test uses 1 library:
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#include <U8x8lib.h>
22

3-
//U8X8_SSD1306_128X64_NONAME_HW_I2C oled(U8X8_PIN_NONE);
4-
U8X8_SSD1306_128X64_NONAME_SW_I2C oled(3, 2, U8X8_PIN_NONE);
3+
U8X8_SSD1306_128X64_NONAME_HW_I2C oled(U8X8_PIN_NONE);
4+
// SCL pin, SDA pin, reset pin
5+
//U8X8_SSD1306_128X64_NONAME_SW_I2C oled(3, 2, U8X8_PIN_NONE);
56

67
void setup() {
78
oled.begin();
89
}
910

1011
void loop() {
1112
oled.drawString(0,0,"Hello World!");
13+
delay(4000);
1214
}

0 commit comments

Comments
 (0)