File tree Expand file tree Collapse file tree 9 files changed +47
-47
lines changed Expand file tree Collapse file tree 9 files changed +47
-47
lines changed Original file line number Diff line number Diff line change 77
88 Micro OLED https://www.sparkfun.com/products/14532
99 Transparent OLED https://www.sparkfun.com/products/15173
10- "Narrow" OLED https://www.sparkfun.com/products/17153
10+ "Narrow" OLED https://www.sparkfun.com/products/24606
1111 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1212
1313 Written by Kirk Benell @ SparkFun Electronics, March 2022
2323
2424#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
2525
26- // The Library supports three different types of SparkFun boards. The demo uses the following
26+ // The Library supports four different types of SparkFun boards. The demo uses the following
2727// defines to determine which device is being used. Uncomment the device being used for this demo.
2828
2929QwiicMicroOLED myOLED;
30- // QwiicTransparentOLED myOLED;
31- // QwiicNarrowOLED myOLED;
32- // Qwiic1in3OLED myOLED;
30+ // QwiicTransparentOLED myOLED;
31+ // QwiicNarrowOLED myOLED;
32+ // Qwiic1in3OLED myOLED;
3333
3434
3535void setup ()
@@ -76,4 +76,4 @@ void setup()
7676void loop ()
7777{
7878 delay (1000 ); // Do nothing
79- }
79+ }
Original file line number Diff line number Diff line change 1212
1313 Micro OLED https://www.sparkfun.com/products/14532
1414 Transparent OLED https://www.sparkfun.com/products/15173
15- "Narrow" OLED https://www.sparkfun.com/products/17153
15+ "Narrow" OLED https://www.sparkfun.com/products/24606
1616 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1717
1818 Written by Kirk Benell @ SparkFun Electronics, March 2022
2828
2929#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
3030
31- // The Library supports three different types of SparkFun boards. The demo uses the following
31+ // The Library supports four different types of SparkFun boards. The demo uses the following
3232// defines to determine which device is being used. Uncomment the device being used for this demo.
3333
3434QwiicMicroOLED myOLED;
35- // QwiicTransparentOLED myOLED;
36- // QwiicNarrowOLED myOLED;
37- // Qwiic1in3OLED myOLED;
35+ // QwiicTransparentOLED myOLED;
36+ // QwiicNarrowOLED myOLED;
37+ // Qwiic1in3OLED myOLED;
3838
3939// Global variables - used to stash our screen size
4040
@@ -259,4 +259,4 @@ void circleTest(void)
259259 myOLED.circle (4 , height / 2 , height / 3 );
260260
261261 myOLED.circleFill (width - width / 2 , height / 2 , height / 4 );
262- }
262+ }
Original file line number Diff line number Diff line change 1212
1313 Micro OLED https://www.sparkfun.com/products/14532
1414 Transparent OLED https://www.sparkfun.com/products/15173
15- "Narrow" OLED https://www.sparkfun.com/products/17153
15+ "Narrow" OLED https://www.sparkfun.com/products/24606
1616 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1717
1818 Written by Kirk Benell @ SparkFun Electronics, March 2022
2828
2929#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
3030
31- // The Library supports three different types of SparkFun boards. The demo uses the following
31+ // The Library supports four different types of SparkFun boards. The demo uses the following
3232// defines to determine which device is being used. Uncomment the device being used for this demo.
3333
3434QwiicMicroOLED myOLED;
35- // QwiicTransparentOLED myOLED;
36- // QwiicNarrowOLED myOLED;
37- // Qwiic1in3OLED myOLED;
35+ // QwiicTransparentOLED myOLED;
36+ // QwiicNarrowOLED myOLED;
37+ // Qwiic1in3OLED myOLED;
3838
3939// Let's draw a truck - use our built in bitmap
4040#include " res/qw_bmp_truck.h"
@@ -134,4 +134,4 @@ void showSplash()
134134 myOLED.bitmap (x0, y0, QW_BMP_SPARKFUN);
135135 myOLED.display ();
136136 delay (2000 );
137- }
137+ }
Original file line number Diff line number Diff line change 1212
1313 Micro OLED https://www.sparkfun.com/products/14532
1414 Transparent OLED https://www.sparkfun.com/products/15173
15- "Narrow" OLED https://www.sparkfun.com/products/17153
15+ "Narrow" OLED https://www.sparkfun.com/products/24606
1616 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1717
1818 Written by Kirk Benell @ SparkFun Electronics, March 2022
2828
2929#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
3030
31- // The Library supports three different types of SparkFun boards. The demo uses the following
31+ // The Library supports four different types of SparkFun boards. The demo uses the following
3232// defines to determine which device is being used. Uncomment the device being used for this demo.
3333
3434QwiicMicroOLED myOLED;
35- // QwiicTransparentOLED myOLED;
36- // QwiicNarrowOLED myOLED;
37- // Qwiic1in3OLED myOLED;
35+ // QwiicTransparentOLED myOLED;
36+ // QwiicNarrowOLED myOLED;
37+ // Qwiic1in3OLED myOLED;
3838
3939// Fonts
4040#include < res/qw_fnt_5x7.h>
Original file line number Diff line number Diff line change 1414
1515 Micro OLED https://www.sparkfun.com/products/14532
1616 Transparent OLED https://www.sparkfun.com/products/15173
17- "Narrow" OLED https://www.sparkfun.com/products/17153
17+ "Narrow" OLED https://www.sparkfun.com/products/24606
1818 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1919
2020 Written by Kirk Benell @ SparkFun Electronics, March 2022
3030
3131#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
3232
33- // The Library supports three different types of SparkFun boards. The demo uses the following
33+ // The Library supports four different types of SparkFun boards. The demo uses the following
3434// defines to determine which device is being used. Uncomment the device being used for this demo.
3535
3636QwiicMicroOLED myOLED;
37- // QwiicTransparentOLED myOLED;
38- // QwiicNarrowOLED myOLED;
39- // Qwiic1in3OLED myOLED;
37+ // QwiicTransparentOLED myOLED;
38+ // QwiicNarrowOLED myOLED;
39+ // Qwiic1in3OLED myOLED;
4040
4141int yoffset;
4242
Original file line number Diff line number Diff line change 1212
1313 Micro OLED https://www.sparkfun.com/products/14532
1414 Transparent OLED https://www.sparkfun.com/products/15173
15- "Narrow" OLED https://www.sparkfun.com/products/17153
15+ "Narrow" OLED https://www.sparkfun.com/products/24606
1616 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1717
1818 Written by
3030
3131#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
3232
33- // The Library supports three different types of SparkFun boards. The demo uses the following
33+ // The Library supports four different types of SparkFun boards. The demo uses the following
3434// defines to determine which device is being used. Uncomment the device being used for this demo.
3535
3636QwiicMicroOLED myOLED;
37- // QwiicTransparentOLED myOLED;
38- // QwiicNarrowOLED myOLED;
39- // Qwiic1in3OLED myOLED;
37+ // QwiicTransparentOLED myOLED;
38+ // QwiicNarrowOLED myOLED;
39+ // Qwiic1in3OLED myOLED;
4040
4141// Use these variables to set the initial time
4242int hours = 11 ;
@@ -215,4 +215,4 @@ void drawFace()
215215 myOLED.print (9 );
216216 myOLED.setCursor (POS_3_X, POS_3_Y);
217217 myOLED.print (3 );
218- }
218+ }
Original file line number Diff line number Diff line change 1212
1313 Micro OLED https://www.sparkfun.com/products/14532
1414 Transparent OLED https://www.sparkfun.com/products/15173
15- "Narrow" OLED https://www.sparkfun.com/products/17153
15+ "Narrow" OLED https://www.sparkfun.com/products/24606
1616 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1717
1818 Written by
2929*/
3030#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
3131
32- // The Library supports three different types of SparkFun boards. The demo uses the following
32+ // The Library supports four different types of SparkFun boards. The demo uses the following
3333// defines to determine which device is being used. Uncomment the device being used for this demo.
3434
3535QwiicMicroOLED myOLED;
36- // QwiicTransparentOLED myOLED;
37- // QwiicNarrowOLED myOLED;
38- // Qwiic1in3OLED myOLED;
36+ // QwiicTransparentOLED myOLED;
37+ // QwiicNarrowOLED myOLED;
38+ // Qwiic1in3OLED myOLED;
3939
4040int width;
4141int height;
@@ -154,4 +154,4 @@ void drawCube()
154154 numberOfDraws = 0 ;
155155 drawTotalTime = 0 ;
156156 }
157- }
157+ }
Original file line number Diff line number Diff line change 1212
1313 Micro OLED https://www.sparkfun.com/products/14532
1414 Transparent OLED https://www.sparkfun.com/products/15173
15- "Narrow" OLED https://www.sparkfun.com/products/17153
15+ "Narrow" OLED https://www.sparkfun.com/products/24606
1616 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1717
1818 Updated from example writtin by Paul Clark @ SparkFun Electronics
2929
3030#include < SparkFun_Qwiic_OLED.h> // http://librarymanager/All#SparkFun_Qwiic_OLED
3131
32- // The Library supports three different types of SparkFun boards. The demo uses the following
32+ // The Library supports four different types of SparkFun boards. The demo uses the following
3333// defines to determine which device is being used. Uncomment the device being used for this demo.
3434
3535QwiicMicroOLED myOLED;
36- // QwiicTransparentOLED myOLED;
37- // QwiicNarrowOLED myOLED;
38- // Qwiic1in3OLED myOLED;
36+ // QwiicTransparentOLED myOLED;
37+ // QwiicNarrowOLED myOLED;
38+ // Qwiic1in3OLED myOLED;
3939
4040int width;
4141int height;
@@ -240,4 +240,4 @@ void shapeExample()
240240 }
241241 delay (1000 );
242242 myOLED.setDrawMode (grROPCopy);
243- }
243+ }
Original file line number Diff line number Diff line change 77
88 Micro OLED https://www.sparkfun.com/products/14532
99 Transparent OLED https://www.sparkfun.com/products/15173
10- "Narrow" OLED https://www.sparkfun.com/products/17153
10+ "Narrow" OLED https://www.sparkfun.com/products/24606
1111 Qwiic OLED 1.3in https://www.sparkfun.com/products/23453
1212
1313 Written by Kirk Benell @ SparkFun Electronics, March 2022
You can’t perform that action at this time.
0 commit comments