pinout.vvzero.com/src/tr/overlay/explorer-hat.md

92 lines
1.7 KiB
Markdown
Raw Normal View History

<!--
---
name: Explorer HAT
2016-07-27 19:17:56 +08:00
class: board
type: hepsi
2016-07-27 20:07:05 +08:00
formfactor: HAT
manufacturer: Pimoroni
2016-07-27 20:07:05 +08:00
image: 'image.png'
url: https://github.com/pimoroni/explorer-hat
github: https://github.com/pimoroni/explorer-hat
buy: http://shop.pimoroni.com/products/explorer-hat
description: Hepsi-bir-arada, hafif, hızlı, dokunma, giriş ve çıkış destekleyen eklenti
kartı.
install:
'devices':
- 'i2c'
'apt':
- 'python-smbus'
- 'python3-smbus'
- 'python-dev'
- 'python3-dev'
'python':
- 'explorerhat'
'python3':
- 'explorerhat'
2015-11-12 03:19:34 +08:00
'examples': 'examples/'
pincount: 40
pin:
'7':
name: LED 1
mode: output
active: high
'11':
name: LED 2
mode: output
active: high
'13':
name: LED 3
mode: output
active: high
'15':
name: Input 2
mode: input
active: high
'16':
name: Input 1
mode: input
active: high
'18':
name: Input 3
mode: input
active: high
'22':
name: Input 4
mode: input
active: high
'29':
name: LED 4
mode: output
active: high
'31':
name: Output 1
mode: output
active: high
'32':
name: Output 2
mode: output
active: high
'33':
name: Output 3
mode: output
active: high
'36':
name: Output 4
mode: output
active: high
-->
#Explorer HAT
5V giriş ve çıkışları, dokunmatik paneli ve LEDler ile Explorer HAT, Raspberry Pi'de prototipleme için tam teşekkürlü bir araç olarak teşkil etmekte.
```bash
2015-11-13 08:37:42 +08:00
curl -sS get.pimoroni.com/explorerhat | bash
```
Ardından Python scriptinize aşağıdaki kodları ekleyip prototipinizi kurcalamaya başlayabilirsiniz:
```bash
import explorerhat
explorerhat.light.on()
2015-11-12 03:19:34 +08:00
```