pinout.vvzero.com/src/en/overlay/scroll-phat.md

54 lines
1.0 KiB
Markdown
Raw Normal View History

2015-12-04 01:48:48 +08:00
<!--
---
2016-06-25 06:26:20 +08:00
name: Scroll pHAT
2016-01-31 19:03:17 +08:00
class: board
type: display, led
formfactor: pHAT
2016-06-25 06:26:20 +08:00
manufacturer: Pimoroni
description: A 11 x 5 LED matrix
2015-12-04 01:48:48 +08:00
url: https://github.com/pimoroni/scroll-phat
github: https://github.com/pimoroni/scroll-phat
buy: https://shop.pimoroni.com/products/scroll-phat
image: 'scroll-phat.png'
pincount: 40
eeprom: no
2016-02-06 19:12:54 +08:00
power:
'2':
ground:
'6':
pin:
'3':
mode: i2c
'5':
mode: i2c
i2c:
'0x60':
name: Matrix LED driver
device: IS31FL3730
2015-12-04 01:48:48 +08:00
install:
'devices':
- 'i2c'
'apt':
- 'python-smbus'
- 'python3-smbus'
2015-12-04 01:58:31 +08:00
'python':
2015-12-04 01:48:48 +08:00
- 'scrollphat'
'python3':
- 'scrollphat'
-->
#Scroll pHAT
The Scroll pHAT provides a matrix of 55 white LED pixels that is ideal for writing messages, showing graphs, and drawing pictures. Perfect for RPi Zero but works with A+/B+/2 too!
To get the pHAT set up and ready to go you can use the one-line product installer:
```bash
curl -sS get.pimoroni.com/scrollphat | bash
```
Then import it into your Python script and start tinkering:
```bash
import scrollphat
```