October 18th, 2015
  • Long text auto split
  • Auto text centering
  • Button press events

LCD keypad shield

I've made it my quest to create OOP classes for Arduino. Read about that in this blogpost if you need some more context.

These classes are created to control most LCD keypad shield.

I've split the logic into two separate classes, because not all LCD shields have a keypad. You can use the LcdDisplay class with every LCD display that can be controlled with the LiquidCrystal library.

LcdDisplay
This library is an add-on on the LiquidCrystal library. It automatically splits a longer text over multiple rows and centers the text on each row. You have to make sure the text isn't too long for the LCD screen, otherwise it will fall of the screen. You can see an example here.

The LcdDisplay library can be found here on GitHub.
It uses the LiquidCrystal library which is included with your Arduino development software.


LcdButtons
This library is created to handle the up, down, left, right and select buttons from the shield. It calls an event method when a button is pressed or held down. You can see an example here.

The LcdButtons library can be found here on GitHub.
It uses the BaseTimedElement base class which can be found here on GitHub.

< Previous post Overview posts Next post >
The Entrance Of Anabolic Steroid Bans and Testing Procedures <a href=https://bestcialis20mg.com/>buy cialis canadian</a> After years of comparing data obtained from almost one million study subjects, the researchers conclusion is nothing but a warning
Widuacy, December 17th, 2022
Ou Acheter Cialis En France <a href=https://iverstromectol.com/>buy stromectol for humans in mexico</a> Ed Supplements Overnight
uncexia, August 24th, 2022
Lzkxxe https://oscialipop.com - buy generic cialis online valor del viagra Bjaqwn <a href=https://oscialipop.com>Cialis</a> Viagra Vente Libre Quebec Huopzl https://oscialipop.com - cialis reviews
Hegitly, April 4th, 2022

Leave a comment

= Thanks for your comment =