This library is a transcription of the original library LiquidCrystal, created by the Arduino team, licensed under GNU Lesser General Public License (LGPL) v2.1.
This version has been rewritten into Swift for Arduino and supports 4-bit and 8-bit communication with LCD based on the Hitachi HD44780 (or a compatible) chipset.
- 4-bit communication with LCD (D4-D7)
- 8-bit communication with LCD (D0–D7)
- Commands
clear(),home(),setCursor(),print(),scroll() - Creating custom characters (
createChar) - Compatibility with SwiftforArduino (S4A)
Sources/LiquidCrystal.swift– main libraryExamples/HelloLCD.swift– sample projectLICENSE– license LGPL v2.1README.md– this file
Connect the LCD according to the documentation (e.g. D0–D7 na piny 2–9, RS na 11, E na 10). 2. Settings using InitLCD4bit() InitLCD8bit() 3. Starting the LCD with begin() 4. And I further control using the functions themselves
This project is licensed under the terms of GNU Lesser General Public License v2.1.
This library is a derivative work based on:
LiquidCrystal – https://github.com/arduino-libraries/LiquidCrystal
(c) Arduino, LGPL v2.1
Tato knihovna je přepis původní knihovny LiquidCrystal, vytvořené týmem Arduino, která je licencována pod GNU Lesser General Public License (LGPL) v2.1.
Tato verze byla přepsána do jazyka Swift pro Arduino a podporuje 4bitovou a 8bitovou komunikaci.
- 4bitová komunikace s LCD (D4-D7)
- 8bitová komunikace s LCD (D0–D7)
- Příkazy
clear(),home(),setCursor(),print(),scroll() - Tvorba vlastních znaků (
createChar) - Kompatibilita se SwiftforArduino (S4A)
Sources/LiquidCrystal.swift– hlavní knihovnaExamples/HelloLCD.swift– ukázkový projektLICENSE– licence LGPL v2.1README.md– tento dokument
- Připoj LCD podle dokumentace (např. D0–D7 na piny 2–9, RS na 11, E na 10).
- Nastavce pomoci InitLCD4bit() InitLCD8bit()
- Spuštění LCD pomoci begin()
- A dále ovládám pomocí samotných funkcí
Tento projekt je licencován pod podmínkami GNU Lesser General Public License v2.1.
Tato knihovna je odvozené dílo založené na:
LiquidCrystal – https://github.com/arduino-libraries/LiquidCrystal
(c) Arduino, LGPL v2.1