pinout.vvzero.com/src/en/overlay/pibrella.md

94 lines
1.7 KiB
Markdown
Raw Normal View History

<!--
---
2016-06-25 06:26:20 +08:00
name: Pibrella
2016-01-31 19:03:17 +08:00
class: board
2016-06-26 22:42:35 +08:00
type: multi,io
formfactor: Custom
manufacturer: Cyntech
description: An all-in-one light, sound, input and output add-on board
2016-07-27 22:14:16 +08:00
url: http://pibrella.com
github: https://github.com/pimoroni/pibrella
buy: https://shop.cyntech.co.uk/products/pibrella?variant=581387897
image: 'pibrella.png'
pincount: 26
eeprom: no
2016-09-14 09:03:45 +08:00
power:
'1':
'2':
ground:
'6':
'9':
'14':
'20':
'25':
pin:
'7':
name: Green LED
direction: output
active: high
'11':
name: Yellow LED
direction: output
active: high
'12':
name: Buzzer
direction: output
active: high
'13':
name: Red LED
direction: output
active: high
'15':
2015-11-16 22:10:42 +08:00
name: Output E
direction: output
active: high
'16':
2015-11-16 22:10:42 +08:00
name: Output F
direction: output
active: high
'18':
2015-11-16 22:10:42 +08:00
name: Output G
direction: output
active: high
'19':
name: Input D
direction: output
active: high
'21':
name: Input A
direction: input
active: high
'22':
2015-11-16 22:10:42 +08:00
name: Output H
direction: output
active: high
'23':
name: Button
direction: input
active: high
'24':
name: Input C
direction: input
active: high
'26':
name: Input B
direction: input
active: high
-->
#Pibrella
2016-06-26 06:28:06 +08:00
The all-in-one light, sound, input and output add-on board that uses lots of IO on the Pi but leaves both Serial and I2C free leaving plenty of room for expansion if you get creative.
Pibrella is easy to use, first you should install the module using LXTerminal/Command Line:
```bash
2015-11-13 08:37:42 +08:00
curl -sS get.pimoroni.com/pibrella | bash
```
Then import it into your Python script and start tinkering:
```bash
import pibrella
pibrella.light.red.on()
2015-11-16 22:10:42 +08:00
```