2015-08-15 17:57:51 +08:00
|
|
|
<!--
|
|
|
|
---
|
2016-06-25 06:26:20 +08:00
|
|
|
name: Display-o-Tron HAT
|
2016-01-31 19:03:17 +08:00
|
|
|
class: board
|
2016-07-24 20:15:53 +08:00
|
|
|
type: display
|
2016-06-26 22:35:20 +08:00
|
|
|
formfactor: HAT
|
2016-03-23 06:28:12 +08:00
|
|
|
image: 'display-o-tron-hat.png'
|
2015-08-15 17:57:51 +08:00
|
|
|
manufacturer: Pimoroni
|
|
|
|
description: A 3-line character LCD with a 6-zone RGB backlight and 6 touch buttons
|
2015-12-30 01:49:41 +08:00
|
|
|
url: https://github.com/pimoroni/dot3k
|
|
|
|
github: https://github.com/pimoroni/dot3k
|
|
|
|
buy: https://shop.pimoroni.com/products/display-o-tron-hat
|
2015-08-15 17:57:51 +08:00
|
|
|
pincount: 40
|
2015-12-30 01:49:41 +08:00
|
|
|
eeprom: yes
|
2016-02-06 19:12:54 +08:00
|
|
|
power:
|
|
|
|
'1':
|
|
|
|
'2':
|
|
|
|
ground:
|
|
|
|
'6':
|
2015-08-15 17:57:51 +08:00
|
|
|
pin:
|
2015-11-16 18:28:16 +08:00
|
|
|
'3':
|
2015-08-15 17:57:51 +08:00
|
|
|
mode: i2c
|
2015-11-16 18:28:16 +08:00
|
|
|
'5':
|
2015-08-15 17:57:51 +08:00
|
|
|
mode: i2c
|
2015-11-16 18:28:16 +08:00
|
|
|
'19':
|
2015-08-15 17:57:51 +08:00
|
|
|
mode: spi
|
2015-11-16 18:28:16 +08:00
|
|
|
'22':
|
2015-08-15 17:57:51 +08:00
|
|
|
name: LCD Register Select
|
|
|
|
mode: output
|
2015-12-30 03:36:54 +08:00
|
|
|
active: high
|
2015-11-16 18:28:16 +08:00
|
|
|
'23':
|
2015-08-15 17:57:51 +08:00
|
|
|
mode: spi
|
2015-11-16 18:28:16 +08:00
|
|
|
'24':
|
2015-08-15 17:57:51 +08:00
|
|
|
name: LCD Chip Select
|
|
|
|
mode: chipselect
|
|
|
|
active: high
|
2015-11-16 18:28:16 +08:00
|
|
|
'32':
|
2015-08-15 17:57:51 +08:00
|
|
|
name: LCD Reset
|
|
|
|
mode: output
|
|
|
|
active: low
|
|
|
|
-->
|
|
|
|
#Display-o-Tron HAT
|
|
|
|
|
2016-01-31 19:03:17 +08:00
|
|
|
Display-o-Tron HAT uses both SPI and I2c to drive the LCD display, backlight and touch.
|
2015-08-15 17:57:51 +08:00
|
|
|
However both of these busses can be shared with other devices.
|
|
|
|
|
2015-11-10 07:44:51 +08:00
|
|
|
To get the HAT set up and ready to go you can use the one-line product installer:
|
2015-08-15 17:57:51 +08:00
|
|
|
|
|
|
|
```bash
|
2015-12-30 01:49:41 +08:00
|
|
|
curl -sS get.pimoroni.com/displayotron | bash
|
2015-08-15 17:57:51 +08:00
|
|
|
```
|
|
|
|
|
|
|
|
And follow the instructions!
|