Metadata-Version: 2.4
Name: skywriter
Version: 0.0.8
Summary: Skywriter HAT Driver
Home-page: http://www.pimoroni.com
Author: Philip Howard
Author-email: phil@pimoroni.com
License: MIT
Keywords: Raspberry Pi Skywriter Gesture HAT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX :: Linux
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development
Classifier: Topic :: System :: Hardware
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: RPi.GPIO
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

![Skywriter](https://github.com/pimoroni/skywriter-hat/blob/master/skywriter-logo.png)

This repository contains libraries and examples for the Pimoroni Skywriter boards.

Compatible with:

* Skywriter - https://shop.pimoroni.com/products/skywriter?variant=1047423445
* Skywriter HAT - https://shop.pimoroni.com/products/skywriter-hat?variant=1002848445

## Installing Software

### One-line Installer

We've created a super-easy installation script that will install all pre-requisites and get your HAT up and running in a jiffy. To run it fire up Terminal which you'll find in Menu -> Accessories -> Terminal on your Raspberry Pi desktop like so:

![Finding the terminal](terminal.jpg)

In the new terminal window type the following and follow the instructions:

```
curl -sS get.pimoroni.com/skywriter | bash
```

### From PyPi (Stable)

Install `smbus`:

```
sudo apt install python3-smbus
```

Enable i2c:

```
sudo raspi-config nonint do_i2c 0
```

Install the library:

```
python3 -m pip install skywriter
```

### From Source (Unstable/Latest)

Install `smbus`:

```
sudo apt install python3-smbus
```

Enable i2c:

```
sudo raspi-config nonint do_i2c 0
```

Install the library:

```
git clone https://github.com/pimoroni/skywriter-hat
cd skywriter-hat/python/library
python3 setup.py install
```

## Documentation & Support

* Function reference - http://docs.pimoroni.com/skywriter/
* GPIO Pinout - https://pinout.xyz/pinout/skywriter_hat
* Get help - http://forums.pimoroni.com/c/support

## Skywriter to Pi Connection

You can use a full-sized Skywriter board with your Raspberry Pi and our library by mimicking the connections that the HAT users. They are as follows:

Skywriter  | Raspberry Pi
-----------|--------------
GND        | GND
TRFR       | GPIO 27
RESET      | GPIO 17
SCL        | GPIO 3 / SCL
SDA        | GPIO 2 / SDA
VCC        | 3V

0.0.8
-----

* Fix for deprecated Thread.IsAlive()
* Linting & tidyup

0.0.7
-----

* Removed dependency upon smbus
* Tweak to Pi version detection

0.0.6
-----

* Added sleep in _do_poll
* Fixed weird reset logic
* Raising exception on bad firmware

0.0.5
-----

* Tweak to allow the odd IOError

0.0.4
-----

* Added repeat_rate to touch decorator

0.0.3
-----

* Tidying up

0.0.2
-----

* Many changes and fixes

 

0.0.1
-----

* Initial release

