-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from hasenradball/develop
Release v0.3.0
- Loading branch information
Showing
10 changed files
with
158 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/* | ||
* write_character_codes.ino | ||
* | ||
* Author: Frank Häfele | ||
* Date: 03.05.2024 | ||
* | ||
* Object: print characters from code table | ||
*/ | ||
|
||
#include <LCD-I2C.h> | ||
|
||
|
||
LCD_I2C lcd(0x27, 16, 2); // Default address of most PCF8574 modules, change according | ||
|
||
void setup() { | ||
// If you are using more I2C devices using the Wire library use lcd.begin(false) | ||
// this stop the library(LCD-I2C) from calling Wire.begin() | ||
lcd.begin(); | ||
lcd.display(); | ||
lcd.backlight(); | ||
} | ||
|
||
void loop() { | ||
// write som character code from ROM code A00 | ||
lcd.setCursor(0, 1); | ||
lcd.print("print characters"); | ||
lcd.setCursor(0, 0); | ||
// writes a H | ||
lcd.writeCharCode(0b01001000); | ||
delay(1000); | ||
|
||
// writes a degree sign | ||
lcd.writeCharCode(0b11011111); | ||
delay(1000); | ||
|
||
// writes a question mark | ||
lcd.writeCharCode(0b00111111); | ||
delay(1000); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "LCD-I2C", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"repository": | ||
{ | ||
"type": "git", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=LCD-I2C | ||
version=0.2.0 | ||
version=0.3.0 | ||
author=Frank Häfele <[email protected]> | ||
maintainer=Frank Häfele <[email protected]> | ||
sentence=C++ Library for Liquid Crystal Displays (LCD) with the Hitachi HD44780 display driver. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.