Skip to content

Updates SKU for the "Narrow" OLED #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions examples/Example-01_Hello/Example-01_Hello.ino
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by Kirk Benell @ SparkFun Electronics, March 2022
Expand All @@ -23,13 +23,13 @@

#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;


void setup()
Expand Down Expand Up @@ -76,4 +76,4 @@ void setup()
void loop()
{
delay(1000); // Do nothing
}
}
12 changes: 6 additions & 6 deletions examples/Example-02_Shapes/Example-02_Shapes.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by Kirk Benell @ SparkFun Electronics, March 2022
Expand All @@ -28,13 +28,13 @@

#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;

// Global variables - used to stash our screen size

Expand Down Expand Up @@ -259,4 +259,4 @@ void circleTest(void)
myOLED.circle(4, height / 2, height / 3);

myOLED.circleFill(width - width / 2, height / 2, height / 4);
}
}
12 changes: 6 additions & 6 deletions examples/Example-03_Bitmap/Example-03_Bitmap.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by Kirk Benell @ SparkFun Electronics, March 2022
Expand All @@ -28,13 +28,13 @@

#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;

// Let's draw a truck - use our built in bitmap
#include "res/qw_bmp_truck.h"
Expand Down Expand Up @@ -134,4 +134,4 @@ void showSplash()
myOLED.bitmap(x0, y0, QW_BMP_SPARKFUN);
myOLED.display();
delay(2000);
}
}
10 changes: 5 additions & 5 deletions examples/Example-04_Text/Example-04_Text.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by Kirk Benell @ SparkFun Electronics, March 2022
Expand All @@ -28,13 +28,13 @@

#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;

// Fonts
#include <res/qw_fnt_5x7.h>
Expand Down
10 changes: 5 additions & 5 deletions examples/Example-05_ScrollFlip/Example-05_ScrollFlip.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by Kirk Benell @ SparkFun Electronics, March 2022
Expand All @@ -30,13 +30,13 @@

#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;

int yoffset;

Expand Down
12 changes: 6 additions & 6 deletions examples/Example-06_Clock/Example-06_Clock.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by
Expand All @@ -30,13 +30,13 @@

#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;

// Use these variables to set the initial time
int hours = 11;
Expand Down Expand Up @@ -215,4 +215,4 @@ void drawFace()
myOLED.print(9);
myOLED.setCursor(POS_3_X, POS_3_Y);
myOLED.print(3);
}
}
12 changes: 6 additions & 6 deletions examples/Example-07_Cube/Example-07_Cube.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by
Expand All @@ -29,13 +29,13 @@
*/
#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;

int width;
int height;
Expand Down Expand Up @@ -154,4 +154,4 @@ void drawCube()
numberOfDraws = 0;
drawTotalTime = 0;
}
}
}
12 changes: 6 additions & 6 deletions examples/Example-08_Multi/Example-08_Multi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Updated from example writtin by Paul Clark @ SparkFun Electronics
Expand All @@ -29,13 +29,13 @@

#include <SparkFun_Qwiic_OLED.h> //http://librarymanager/All#SparkFun_Qwiic_OLED

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

QwiicMicroOLED myOLED;
// QwiicTransparentOLED myOLED;
// QwiicNarrowOLED myOLED;
// Qwiic1in3OLED myOLED;
//QwiicTransparentOLED myOLED;
//QwiicNarrowOLED myOLED;
//Qwiic1in3OLED myOLED;

int width;
int height;
Expand Down Expand Up @@ -240,4 +240,4 @@ void shapeExample()
}
delay(1000);
myOLED.setDrawMode(grROPCopy);
}
}
2 changes: 1 addition & 1 deletion examples/Example-09_CustomOLED/Example-09_CustomOLED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Micro OLED https://www.sparkfun.com/products/14532
Transparent OLED https://www.sparkfun.com/products/15173
"Narrow" OLED https://www.sparkfun.com/products/17153
"Narrow" OLED https://www.sparkfun.com/products/24606
Qwiic OLED 1.3in https://www.sparkfun.com/products/23453

Written by Kirk Benell @ SparkFun Electronics, March 2022
Expand Down