Added SegLCDLib for segment LCD displays#7968
Merged
github-actions[bot] merged 1 commit intoarduino:mainfrom Mar 20, 2026
Merged
Added SegLCDLib for segment LCD displays#7968github-actions[bot] merged 1 commit intoarduino:mainfrom
github-actions[bot] merged 1 commit intoarduino:mainfrom
Conversation
Contributor
|
Arduino Lint has suggestions for possible improvements to https://github.com/petrkr/SegLCDLib: |
Contributor
|
Your submission has now been accepted! Thanks for your contribution to the Arduino Library Manager index. The library(s) will be available for installation via Library Manager within a day's time. You can check the logs from the Library Manager indexer for your library(s) here: |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Library for most known LCD displays which I found on market.
List of supported LCD screens is in documentation (
https://petrkr.github.io/SegLCDLib/)
It follows LCD API 1.0 specification where it was possible as this specification is for dot-matrix alphanumeric LCD screens and not for segments, where lot of things simply does not exists on hardware level ( so for example you can not implement blink cursor on/off as there is no cursor at all)
But I implemented row/col, setPosition, home, clear.. Most of LCD has only 1 row, but there are also some which have 2 or 3 rows, so it follows this setPosition.
Also it uses Print.h, so users can use simple lcd.print() which will automatically increment col and row.
As Print.h it out of box supports data types like string, integer, float).
Some LCD have colon between digits, so if there is cursor it will light up this colon instead fake it from charset table, that makes time easy like