Max/MSP Externals for Phidgets
May 2017
--------------------------------------------------------------------------
Installation:
Copy the externals you want to use to any location that is on the
search path specified by Max/MSP in Options->File Preferences...
--------------------------------------------------------------------------
Compatibility:
Supports Max/MSP 6.0 or higher, including 32-bit / 64-bit
Requires Phidget library 1.0.0 or higher (phidget22)
Requires MacOS X 10.6 or higher, or Windows XP or higher
--------------------------------------------------------------------------
Usage:
Specific usage can be seen in the included patcher help files (.maxhelp in examples folder)

You don't need to have a phidget plugged in when you create your device and you 
can plug/unplug as many times as you like while it is open.

Readings can be taken individually or as changes are reported by the device.

Arguments:
All Phidgets externals take a number of optional arguments. Syntax is:
PhidgetExternal {Arguments}

The arguments are taken in the form: argument=value
They are:
    - serialnumber
        The serial number of the device
    - channel
        The channel of the device to open
    - hubport
        The hub port the device is plugged into (where applicable)
    - ishubport
        Specifies whether this channel should be opened on a hub port directly, or on a VINT device attached
        to a hub port.
    - remote
        Forces the object to connect to a remote device over a network, ignoring devices on the local machine
    - local
        Forces the object to connect to a device plugged into the local machine, ignoring network devices

To access Phidgets over a network, use the PhidgetNet object in your patcher

Examples:
Open a Digital Input:
    PhidgetDigitalInput

Open channel 1 of a Digital Input with serial number 35569:
    PhidgetDigitalInput serialnumber=35569 channel=1

Open channel 1 of a Digital Input with on port 2 of a hub with serial number 35569
    PhidgetDigitalInput serialnumber=35569 channel=1 hubport=2

Open open hub port 2 as a DigitalInput for a hub with serial number 35569
    PhidgetDigitalInput serialnumber=35569 channel=0 hubport=2 ishubport=1

Open a Digital Input with serial number 35569 on a remote server
    PhidgetDigitalInput serialnumber=35569 remote=1
