How to install toio.py to Pythonista3

IMPORTANT NOTE

THIS IS AN EXPERIMENTAL IMPLEMENTATION.
TOIO.PY WORKS ON PYTHONISTA3 VERSION 3.4 ONLY.
NOT CONFIRMED TO WORK WITH ANOTHER VERSION OF PYTHONISTA3.

Prerequisite

Install Pythonista3.

How to install

To install toio.py and related packages, download install_toio.py and run on Pythonista3.

You can open install_toio.py by following these steps:

Downloaded by Safari

  • Press the hamburger button

  • Select “Open”

  • Select “Folder…”

  • Select “Downloads”

  • Pick “install_toio.py”

Downloaded by Chrome

  • Press the hamburger button

  • Select “Open”

  • Select “Folder…”

  • Select “On My iPad” (or “On My iPhone”)

  • Select “Chrome”

  • Pick “install_toio.py”

Press the triangle button in the upper right corner to start.

After installation, restart Pythonista3.

Run examples

You can run the example code in the example_toio_py folder.

Note:

The first time you run the example code, it will confirm the use of Bluetooth and terminate with an error.:raw-html-m2r:`<br>` Please allow Bluetooth and re-run the example code.

How to select example code

  • Press the hamburger button

  • Select “This iPad” (or “This iPhone”)

  • Select “examples_toio_py” or “examples_simple_toio_py”

  • Pick an example code you want to run