Arduino Leonardo - Electronical Lock

Geplaatst op

Initializing the LCD with a function

To use the LCD we have to use a library it's the LiquidCrystal_I2C library. So first we have to initialize the library and afther that we have to specify how many rows and characters we have on the LCD.

And to see if the LCD fully works we can togle the backlight on, off and on again. And display a welcome message to the user.

Now we can use the LCD in our further program

Initialization of the LCD

Huidige pagina 7. The code - part 2 - The LCD 1. Introduction 2. The Schematic 3. The Keypad 4. The LCD module 5. The servo 6. The code - part 1 - The Keypad 7. The code - part 2 - The LCD 8. The code - part 3 - The code 9. The code - part 4 - More codes 10. The code - part 5 - Setup and Loop 11. The full code Geschreven door

Reacties

Webwinkelkeur Kiyoh Trustpilot Opencircuit