Skip to content

Commit 525b607

Browse files
2 parents 8ea07ec + 26966b0 commit 525b607

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

digistump-avr/libraries/DigisparkOLED/DigisparkOLED.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ const uint8_t ssd1306_init_sequence [] PROGMEM = { // Initialization Sequence
3737
0x00, // ---set low column address
3838
0x10, // ---set high column address
3939
0x40, // --set start line address
40-
0x81, 0x3F, // Set contrast control register
40+
0x81, 0x5F, // Set contrast control register
4141
0xA1, // Set Segment Re-map. A0=address mapped; A1=address 127 mapped.
4242
0xA6, // Set display mode. A6=Normal; A7=Inverse
43-
0xA8, 0x3F, // Set multiplex ratio(1 to 64)
43+
0xA8, 0x1F, // Set multiplex ratio(1 to 64)
4444
0xA4, // Output RAM to Display
4545
// 0xA4=Output follows RAM content; 0xA5,Output ignores RAM content
4646
0xD3, 0x00, // Set display offset. 00 = no offset
4747
0xD5, // --set display clock divide ratio/oscillator frequency
4848
0xF0, // --set divide ratio
4949
0xD9, 0x22, // Set pre-charge period
50-
0xDA, 0x12, // Set com pins hardware configuration
50+
0xDA, 0x02, // Set com pins hardware configuration
5151
0xDB, // --set vcomh
5252
0x20, // 0x20,0.77xVcc
5353
0x8D, 0x14, // Set DC-DC enable

0 commit comments

Comments
 (0)