This package has been deprecated

Author message:

This package has moved to @iotes/strategy-phidget

iotes-strategy-phidget22
TypeScript icon, indicating that this package has built-in type declarations

0.1.14 • Public • Published

iotes-strategy-phidget22

An iotes strategy to integrate with phidget devices. Currently only supports some functions of Encoder and RFID reader

Usage

import { phidgetStrategy } from 'iotes-strategy-phidget22'
// You may use this with any iotes plugin, 
import { createIotes } from 'iotes'

createIotes(topology, phdgetStrategy)

Testing

You can run manual tests with npm run test and phidget attached

Adding Devices to strategy,

  1. Add Device type to DeviceTypes in ./types
  2. create a new file in ./devices
  3. import Device from type
  4. Create the function to create the device factory copying the examples provided
  5. Import the new device factory factory into ./createDeviceFactory
  6. Export the function with the type name you added to DeviceTypes in step 1

Readme

Keywords

none

Package Sidebar

Install

npm i iotes-strategy-phidget22

Weekly Downloads

15

Version

0.1.14

License

MIT

Unpacked Size

17.1 kB

Total Files

20

Last publish

Collaborators

  • fast-boy