Added back after stupid mistake
This commit is contained in:
parent
3577efdb8d
commit
2ef3bd54f4
43
draft/overlay/adafruit_lcd.md
Normal file
43
draft/overlay/adafruit_lcd.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
<!--
|
||||||
|
---
|
||||||
|
name: Adafruit 16x2 Character LCD
|
||||||
|
class: board
|
||||||
|
type: Display
|
||||||
|
formfactor: Custom
|
||||||
|
manufacturer: Adafruit
|
||||||
|
description: 16x2 Character LCD and Keypad
|
||||||
|
url: https://learn.adafruit.com/adafruit-16x2-character-lcd-plus-keypad-for-raspberry-pi
|
||||||
|
buy: https://www.adafruit.com/products/1109
|
||||||
|
image: lcd.png
|
||||||
|
pincount: 26
|
||||||
|
eeprom: no
|
||||||
|
power:
|
||||||
|
'2':
|
||||||
|
|
||||||
|
ground:
|
||||||
|
'6':
|
||||||
|
pin:
|
||||||
|
'3':
|
||||||
|
mode:SDA
|
||||||
|
'5':
|
||||||
|
mode:SCL
|
||||||
|
i2c:
|
||||||
|
'0x20':
|
||||||
|
name: MCP23017
|
||||||
|
device: MCP23017
|
||||||
|
|
||||||
|
|
||||||
|
-->
|
||||||
|
#Adafruit 16x2 Character LCD
|
||||||
|
|
||||||
|
The Adafruit plate makes it easy to use a 16x2 Character LCD. Most LCD use lots of GPIO pins but with this just using I2C you only need two pins. The keypad gives you an easy way to input to the display and it comes with an easy to use python library to make it super easy to program. Note that the same pinout applies to both positive, negative and normal LCD.
|
||||||
|
|
||||||
|
To install:
|
||||||
|
```bash
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install build-essential python-dev python-smbus python-pip git
|
||||||
|
sudo pip install RPi.GPIO
|
||||||
|
git clone https://github.com/adafruit/Adafruit_Python_CharLCD.git
|
||||||
|
cd Adafruit_Python_CharLCD
|
||||||
|
sudo python setup.py install
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user