Skip to content

Added SegLCDLib for segment LCD displays#7968

Merged
github-actions[bot] merged 1 commit intoarduino:mainfrom
petrkr:seglcdlib
Mar 20, 2026
Merged

Added SegLCDLib for segment LCD displays#7968
github-actions[bot] merged 1 commit intoarduino:mainfrom
petrkr:seglcdlib

Conversation

@petrkr
Copy link
Contributor

@petrkr petrkr commented Mar 20, 2026

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

lcd.print("14:24");
lcd.home();
lcd.print("14:25");

@github-actions github-actions bot added the topic: submission Add library to the list label Mar 20, 2026
@github-actions
Copy link
Contributor

Arduino Lint has suggestions for possible improvements to https://github.com/petrkr/SegLCDLib:

Linting library in SegLCDLib
WARNING: Missing architectures field in library.properties                                                     
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format
         (Rule LP043)                                                                                          

Linter results for project: 0 ERRORS, 1 WARNINGS

-------------------

Linting sketch in SegLCDLib/examples/HT1621/4DigDeg

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/HT1621/6DigBat

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/HT1621/LCM0844

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/HT1621/LCM59011

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/HT1621/LCM88128

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/HT1621/RawLCD

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/HT1622/10Digit16SegmentLCD

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/HT1622/RawLCD

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/MenuControl

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF85176/2Row4DigSigBatPwr

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF85176/4DR821B

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF85176/6DigSigBattProgress

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF85176/OneDigit

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF85176/RawLCD

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF85176/T1T2Lcd

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF85176/TempHumidity

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/PCF8576/4Seg6SegMaintSegBatUnits

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/VK0192/5DigSigBattProgress

Linter results for project: no errors or warnings

-------------------

Linting sketch in SegLCDLib/examples/VK0192/Raw

Linter results for project: no errors or warnings

-------------------

Linter results for projects: 0 ERRORS, 1 WARNINGS

@github-actions github-actions bot merged commit dfdb422 into arduino:main Mar 20, 2026
11 checks passed
@github-actions
Copy link
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:
http://downloads.arduino.cc/libraries/logs/github.com/petrkr/SegLCDLib/

github-actions bot pushed a commit that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: submission Add library to the list

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant