Skip to content

Commit edca24b

Browse files
authored
Merge pull request #11 from sparkfun/Add_Qwiic_OLED_1in3
Add Qwiic OLED 1.3" (Qwiic1in3OLED)
2 parents cfa0bb4 + 1b79646 commit edca24b

File tree

17 files changed

+127
-9
lines changed

17 files changed

+127
-9
lines changed

docs/software.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ The user selects from one of the following classes:
2828
| `QwiicMicroOLED` | [SparkFun Qwiic Micro OLED ]( https://www.sparkfun.com/products/14532)|
2929
| `QwiicNarrowOLED` | [SparkFun Qwiic OLED Display (128x32) ]( https://www.sparkfun.com/products/17153)|
3030
| `QwiicTransparentOLED` | [SparkFun Transparent Graphical OLED]( https://www.sparkfun.com/products/15173)|
31+
| `Qwiic1in3OLED` | [SparkFun Qwiic OLED 1.3" Display (128x32) ]( https://www.sparkfun.com/products/23453)|
3132

3233
For this example, the Qwiic Micro OLED is used.
3334
```C++

examples/Example-01_Hello/Example-01_Hello.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2121
*/
2222

23-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
23+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
2424

2525
// The Library supports three different types of SparkFun boards. The demo uses the following
2626
// defines to determine which device is being used. Uncomment the device being used for this demo.
2727

2828
QwiicMicroOLED myOLED;
2929
// QwiicTransparentOLED myOLED;
3030
// QwiicNarrowOLED myOLED;
31+
// Qwiic1in3OLED myOLED;
3132

3233

3334
void setup()

examples/Example-02_Shapes/Example-02_Shapes.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2626
*/
2727

28-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
28+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
2929

3030
// The Library supports three different types of SparkFun boards. The demo uses the following
3131
// defines to determine which device is being used. Uncomment the device being used for this demo.
3232

3333
QwiicMicroOLED myOLED;
3434
// QwiicTransparentOLED myOLED;
3535
// QwiicNarrowOLED myOLED;
36+
// Qwiic1in3OLED myOLED;
3637

3738
// Global variables - used to stash our screen size
3839

examples/Example-03_Bitmap/Example-03_Bitmap.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2626
*/
2727

28-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
28+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
2929

3030
// The Library supports three different types of SparkFun boards. The demo uses the following
3131
// defines to determine which device is being used. Uncomment the device being used for this demo.
3232

3333
QwiicMicroOLED myOLED;
3434
// QwiicTransparentOLED myOLED;
3535
// QwiicNarrowOLED myOLED;
36+
// Qwiic1in3OLED myOLED;
3637

3738
// Let's draw a truck - use our built in bitmap
3839
#include "res/qw_bmp_truck.h"

examples/Example-04_Text/Example-04_Text.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2626
*/
2727

28-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
28+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
2929

3030
// The Library supports three different types of SparkFun boards. The demo uses the following
3131
// defines to determine which device is being used. Uncomment the device being used for this demo.
3232

3333
QwiicMicroOLED myOLED;
3434
// QwiicTransparentOLED myOLED;
3535
// QwiicNarrowOLED myOLED;
36+
// Qwiic1in3OLED myOLED;
3637

3738
// Fonts
3839
#include <res/qw_fnt_5x7.h>

examples/Example-05_ScrollFlip/Example-05_ScrollFlip.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@
2727
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2828
*/
2929

30-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
30+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
3131

3232
// The Library supports three 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

3535
QwiicMicroOLED myOLED;
3636
// QwiicTransparentOLED myOLED;
3737
// QwiicNarrowOLED myOLED;
38+
// Qwiic1in3OLED myOLED;
3839

3940
int yoffset;
4041

examples/Example-06_Clock/Example-06_Clock.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@
2727
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2828
*/
2929

30-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
30+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
3131

3232
// The Library supports three 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

3535
QwiicMicroOLED myOLED;
3636
// QwiicTransparentOLED myOLED;
3737
// QwiicNarrowOLED myOLED;
38+
// Qwiic1in3OLED myOLED;
3839

3940
// Use these variables to set the initial time
4041
int hours = 11;

examples/Example-07_Cube/Example-07_Cube.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@
2626
2727
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2828
*/
29-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
29+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
3030

3131
// The Library supports three 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

3434
QwiicMicroOLED myOLED;
3535
// QwiicTransparentOLED myOLED;
3636
// QwiicNarrowOLED myOLED;
37+
// Qwiic1in3OLED myOLED;
3738

3839
int width;
3940
int height;

examples/Example-08_Multi/Example-08_Multi.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,15 @@
2626
SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).
2727
*/
2828

29-
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_Graphic_OLED
29+
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED
3030

3131
// The Library supports three 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

3434
QwiicMicroOLED myOLED;
3535
// QwiicTransparentOLED myOLED;
3636
// QwiicNarrowOLED myOLED;
37+
// Qwiic1in3OLED myOLED;
3738

3839
int width;
3940
int height;

examples/docs/ex_01_hello.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The user selects from one of the following classes:
2626
| `QwiicMicroOLED` | [SparkFun Qwiic Micro OLED ]( https://www.sparkfun.com/products/14532)|
2727
| `QwiicNarrowOLED` | [SparkFun Qwiic OLED Display (128x32) ]( https://www.sparkfun.com/products/17153)|
2828
| `QwiicTransparentOLED` | [SparkFun Transparent Graphical OLED]( https://www.sparkfun.com/products/15173)|
29+
| `Qwiic1in3OLED` | [SparkFun Qwiic OLED 1.3" Display (128x32) ]( https://www.sparkfun.com/products/23453)|
2930

3031
The Example code supports all of the SparkFun Qwiic OLED boards. To select the board being used, uncomment the `#define` for the demo board.
3132

0 commit comments

Comments
 (0)