2015-04-11 06:32:08 +08:00
|
|
|
<!--
|
|
|
|
---
|
|
|
|
name: Skywriter HAT
|
|
|
|
manufacturer: Pimoroni
|
|
|
|
url: https://github.com/pimoroni/skywriter-hat
|
|
|
|
github: https://github.com/pimoroni/skywriter-hat
|
|
|
|
buy: http://shop.pimoroni.com/products/skywriter-hat
|
|
|
|
description: A 3D positional and gesture sensor.
|
2015-10-14 22:16:56 +08:00
|
|
|
install:
|
|
|
|
'apt':
|
|
|
|
- 'python-smbus'
|
|
|
|
- 'python3-smbus'
|
|
|
|
- 'python-dev'
|
|
|
|
- 'python3-dev'
|
|
|
|
'python':
|
|
|
|
- 'skywriter'
|
|
|
|
'examples': 'python/examples/'
|
2015-04-11 06:32:08 +08:00
|
|
|
pincount: 40
|
2015-12-18 09:16:57 +08:00
|
|
|
power: 3v3
|
|
|
|
i2c:
|
|
|
|
'0x42':
|
|
|
|
name: Gesture sensor
|
|
|
|
device: MGC3130
|
2015-04-11 06:32:08 +08:00
|
|
|
pin:
|
|
|
|
'3':
|
|
|
|
mode: i2c
|
|
|
|
'5':
|
|
|
|
mode: i2c
|
|
|
|
'11':
|
|
|
|
name: Reset
|
|
|
|
'13':
|
|
|
|
name: Transfer
|
|
|
|
-->
|
|
|
|
#Skywriter HAT
|
|
|
|
|
|
|
|
Skywriter HAT senses your finger's position above it in 3 dimensions, outputting an X, Y, Z axis
|
|
|
|
which you can use in your Python scripts.
|
|
|
|
|
2015-10-14 22:16:56 +08:00
|
|
|
It also recognises gestures, including swipes and more.
|
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:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
curl -sS get.pimoroni.com/skywriter | bash
|
|
|
|
```
|
|
|
|
|
|
|
|
And follow the instructions!
|