Skip to content

Commit a7b5051

Browse files
committed
2.21.8
1 parent 5803e85 commit a7b5051

File tree

45 files changed

+619
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+619
-15
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ Description: https://github.com/olikraus/u8g2/wiki
88

99
Issue Tracker: https://github.com/olikraus/u8g2/issues
1010

11-
Download (2.21.7): https://github.com/olikraus/U8g2_Arduino/archive/master.zip
11+
Download (2.21.8): https://github.com/olikraus/U8g2_Arduino/archive/master.zip
1212

examples/full_buffer/FPS/FPS.ino

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
// U8g2 Contructor List (Frame Buffer)
173173
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
174174
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
175+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
175176
//U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
176177
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
177178
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/full_buffer/FontUsage/FontUsage.ino

+435
Large diffs are not rendered by default.

examples/full_buffer/GraphicsTest/GraphicsTest.ino

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
// U8g2 Contructor List (Frame Buffer)
5757
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5858
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
59+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5960
//U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6061
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6162
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/full_buffer/HelloWorld/HelloWorld.ino

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
// U8g2 Contructor List (Frame Buffer)
5656
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5757
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
58+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5859
//U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
5960
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6061
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/full_buffer/PrintUTF8/PrintUTF8.ino

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
// U8g2 Contructor List (Frame Buffer)
5959
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6060
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
61+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6162
//U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6263
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6364
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/full_buffer/SelectionList/SelectionList.ino

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
// U8g2 Contructor List (Frame Buffer)
5656
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5757
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
58+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5859
//U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
5960
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6061
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/full_buffer/Shennong/Shennong.ino

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
// U8g2 Contructor List (Frame Buffer)
100100
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
101101
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
102+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
102103
//U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
103104
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
104105
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/full_buffer/U8g2Logo/U8g2Logo.ino

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
// U8g2 Contructor List (Frame Buffer)
5757
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5858
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
59+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5960
//U8G2_SSD1306_128X64_NONAME_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6061
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6162
//U8G2_SSD1306_128X64_NONAME_F_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/Chinese/Chinese.ino

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
// U8g2 Contructor List (Picture Loop Page Buffer)
5959
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6060
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
61+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6364
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/Clock/Clock.ino

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
// U8g2 Contructor List (Picture Loop Page Buffer)
6161
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6262
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
63+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6364
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6465
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6566
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/ContrastTest/ContrastTest.ino

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
// U8g2 Contructor List (Picture Loop Page Buffer)
5858
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5959
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
60+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6061
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/DirectAccess/DirectAccess.ino

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
// U8g2 Contructor List (Picture Loop Page Buffer)
6262
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6363
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
64+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6465
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6566
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6667
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/ExtUTF8/ExtUTF8.ino

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
// U8g2 Contructor List (Picture Loop Page Buffer)
5858
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5959
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
60+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6061
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/FPS/FPS.ino

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
05 Sep 2017, Arduino 1.8,0
221221
U8G2_SH1106_128X64_NONAME_1_HW_I2C Uno Clip=13.6 Box=19.4 @=3.8 Pix=5.9
222222
223-
6 Oct 2016, Arduino 1.8.4
223+
6 Oct 2017, Arduino 1.8.4
224224
U8G2_SSD1306_128X64_NONAME_1_SW_I2C EPS32 Clip=9.5 Box=9.6 @=8.9 Pix=9.1
225225
U8G2_SSD1306_128X64_NONAME_1_HW_I2C EPS32 Clip=30.5 Box=31.3 @=24.7 Pix=26.7
226226
*/
@@ -240,6 +240,7 @@
240240
// U8g2 Contructor List (Picture Loop Page Buffer)
241241
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
242242
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
243+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
243244
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
244245
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
245246
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/FlipMode/FlipMode.ino

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
// U8g2 Contructor List (Picture Loop Page Buffer)
5353
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5454
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
55+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5556
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
5657
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
5758
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/GraphicsTest/GraphicsTest.ino

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
// U8g2 Contructor List (Picture Loop Page Buffer)
5858
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5959
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
60+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6061
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/HelloWorld/HelloWorld.ino

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
// U8g2 Contructor List (Picture Loop Page Buffer)
5858
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5959
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
60+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6061
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/Japanese/Japanese.ino

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
// U8g2 Contructor List (Picture Loop Page Buffer)
5959
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6060
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
61+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6364
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/Korean/Korean.ino

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
// U8g2 Contructor List (Picture Loop Page Buffer)
5959
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6060
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
61+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6364
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/PowerSaveTest/PowerSaveTest.ino

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
// U8g2 Contructor List (Picture Loop Page Buffer)
5252
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5353
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
54+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5455
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
5556
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
5657
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/PrintHelloWorld/PrintHelloWorld.ino

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
// U8g2 Contructor List (Picture Loop Page Buffer)
5959
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6060
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
61+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6364
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/PrintProgmem/PrintProgmem.ino

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
// U8g2 Contructor List (Picture Loop Page Buffer)
6262
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6363
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
64+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6465
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6566
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6667
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/PrintUTF8/PrintUTF8.ino

+1
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
// U8g2 Contructor List (Picture Loop Page Buffer)
5959
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6060
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
61+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6263
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6364
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/ScrollingText/ScrollingText.ino

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
// U8g2 Contructor List (Picture Loop Page Buffer)
6262
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6363
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
64+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6465
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6566
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6667
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/SelectionList/SelectionList.ino

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
// U8g2 Contructor List (Picture Loop Page Buffer)
4848
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
4949
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
50+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5051
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
5152
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
5253
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/Shennong/Shennong.ino

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
// U8g2 Contructor List (Picture Loop Page Buffer)
100100
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
101101
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
102+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
102103
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
103104
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
104105
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/U8g2Logo/U8g2Logo.ino

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
// U8g2 Contructor List (Picture Loop Page Buffer)
5757
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
5858
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
59+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
5960
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6061
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6162
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

examples/page_buffer/XBM/XBM.ino

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
// U8g2 Contructor List (Picture Loop Page Buffer)
6262
// The complete list is available here: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp
6363
// Please update the pin numbers according to your setup. Use U8X8_PIN_NONE if the reset pin is not connected
64+
//U8G2_NULL u8g2(U8G2_R0); // null device, a 8x8 pixel display which does nothing
6465
//U8G2_SSD1306_128X64_NONAME_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);
6566
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 12, /* dc=*/ 4, /* reset=*/ 6); // Arduboy (Production, Kickstarter Edition)
6667
//U8G2_SSD1306_128X64_NONAME_1_4W_HW_SPI u8g2(U8G2_R0, /* cs=*/ 10, /* dc=*/ 9, /* reset=*/ 8);

0 commit comments

Comments
 (0)