Permalink
Browse files

DM: added seesaw stuff

  • Loading branch information...
1 parent a89b4d4 commit bcae73773822b465662ff3053cf875ce8c2a955a @deanm1278 deanm1278 committed Aug 10, 2017
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - Autoscroll
+ STEMMA_LiquidCrystal Library - Autoscroll
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -34,17 +34,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalAutoscroll
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalAutoscroll
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
void setup() {
// set up the LCD's number of columns and rows:
View
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - Blink
+ STEMMA_LiquidCrystal Library - Blink
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -34,17 +34,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalBlink
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalBlink
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
void setup() {
// set up the LCD's number of columns and rows:
View
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - Cursor
+ STEMMA_LiquidCrystal Library - Cursor
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -35,17 +35,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalCursor
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalCursor
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
void setup() {
// set up the LCD's number of columns and rows:
@@ -1,8 +1,8 @@
/*
- LiquidCrystal Library - Custom Characters
+ STEMMA_LiquidCrystal Library - Custom Characters
Demonstrates how to add custom characters on an LCD display.
- The LiquidCrystal library works with all LCD displays that are
+ The STEMMA_LiquidCrystal library works with all LCD displays that are
compatible with the Hitachi HD44780 driver. There are many of
them out there, and you can usually tell them by the 16-pin interface.
@@ -33,20 +33,17 @@
https://github.com/adafruit/SPI_VFD/blob/master/examples/createChar/createChar.pde
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalCustomCharacter
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalCustomCharacter
Also useful:
http://icontexto.com/charactercreator/
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
// make some custom characters:
byte heart[8] = {
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - display() and noDisplay()
+ STEMMA_LiquidCrystal Library - display() and noDisplay()
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -35,17 +35,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalDisplay
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalDisplay
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
void setup() {
// set up the LCD's number of columns and rows:
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - Hello World
+ STEMMA_LiquidCrystal Library - Hello World
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -36,17 +36,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalHelloWorld
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalHelloWorld
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
void setup() {
// set up the LCD's number of columns and rows:
View
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - scrollDisplayLeft() and scrollDisplayRight()
+ STEMMA_LiquidCrystal Library - scrollDisplayLeft() and scrollDisplayRight()
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -35,17 +35,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalScroll
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalScroll
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
void setup() {
// set up the LCD's number of columns and rows:
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - Serial Input
+ STEMMA_LiquidCrystal Library - Serial Input
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -34,17 +34,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalSerialDisplay
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalSerialDisplay
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
void setup() {
// set up the LCD's number of columns and rows:
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - TextDirection
+ STEMMA_LiquidCrystal Library - TextDirection
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -34,17 +34,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalTextDirection
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalTextDirection
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
int thisChar = 'a';
@@ -1,7 +1,7 @@
/*
- LiquidCrystal Library - setCursor
+ STEMMA_LiquidCrystal Library - setCursor
- Demonstrates the use a 16x2 LCD display. The LiquidCrystal
+ Demonstrates the use a 16x2 LCD display. The STEMMA_LiquidCrystal
library works with all LCD displays that are compatible with the
Hitachi HD44780 driver. There are many of them out there, and you
can usually tell them by the 16-pin interface.
@@ -34,17 +34,14 @@
This example code is in the public domain.
- http://www.arduino.cc/en/Tutorial/LiquidCrystalSetCursor
+ http://www.arduino.cc/en/Tutorial/STEMMA_LiquidCrystalSetCursor
*/
// include the library code:
-#include <LiquidCrystal.h>
+#include <STEMMA_LiquidCrystal.h>
-// initialize the library by associating any needed LCD interface pin
-// with the arduino pin number it is connected to
-const int rs = 12, en = 11, d4 = 5, d5 = 4, d6 = 3, d7 = 2;
-LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
+STEMMA_LiquidCrystal lcd;
// these constants won't change. But you can change the size of
// your LCD using them:
View
@@ -1,9 +1,9 @@
-name=LiquidCrystal
-version=1.0.7
+name=STEMMA_LiquidCrystal
+version=0.0.1
author=Arduino, Adafruit
-maintainer=Arduino <info@arduino.cc>
-sentence=Allows communication with alphanumerical liquid crystal displays (LCDs).
+maintainer=Adafruit <support@adafruit.com>
+sentence=Allows communication with alphanumerical liquid crystal displays (LCDs) via the STEMMA LCD backpack.
paragraph=This library allows an Arduino/Genuino board to control LiquidCrystal displays (LCDs) based on the Hitachi HD44780 (or a compatible) chipset, which is found on most text-based LCDs. The library works with in either 4 or 8 bit mode (i.e. using 4 or 8 data lines in addition to the rs, enable, and, optionally, the rw control lines).
category=Display
-url=http://www.arduino.cc/en/Reference/LiquidCrystal
+url=https://www.adafruit.com
architectures=*
Oops, something went wrong.

0 comments on commit bcae737

Please sign in to comment.