Welcome¶
This documentation will guide you through the methods available in the Skywriter python library.
- Skywriter HAT - https://shop.pimoroni.com/products/skywriter-hat
- Skywriter - https://shop.pimoroni.com/products/skywriter
- Get the code - https://github.com/pimoroni/skywriter-hat
- GPIO Pinout - https://pinout.xyz/skywriter_hat
- Get help - http://forums.pimoroni.com/c/support
At A Glance¶
-
class
skywriter.
AsyncWorker
(todo)[source]¶ Basic thread wrapper class for asyncronously running functions
Basic thread wrapper class for running functions asyncronously. Return False from your function to abort looping.
Airwheel¶
-
skywriter.
airwheel
()[source] Bind an action to the “airhweel” gesture
Point your finger at the Skywriter and spin it in a wheel The handler will receive a rotation delta in degrees
Double Tap¶
-
skywriter.
double_tap
(*args, **kwargs)[source] Bind double tap event
Parameters: - repeat_rate – Max number of times/second to fire the double tap event
- position – Position of double tap to watch- north, south, east, west, center
Tap¶
-
skywriter.
tap
(*args, **kwargs)[source] Bind tap event
Parameters: - repeat_rate – Max number of times/second to fire the touch event
- position – Position of tap to watch- north, south, east, west, center
Touch¶
-
skywriter.
touch
(*args, **kwargs)[source] Bind touch event
Parameters: - repeat_rate – Max number of times/second to fire the touch event
- position – Position of touch to watch- north, south, east, west, center
Move¶
-
skywriter.
move
()[source] Bind an action to move
The handler will receive x, y and z values describing the tracked finger in 3D space above the Skywriter.