-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathphidgetapi.js
39 lines (35 loc) · 1.35 KB
/
phidgetapi.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Phidget Interface for node.js
* Brandon Miller
*
* June 2012
*
*/
// Quickfix 10.March.2017 | fw@demodern.com
// Observe is obsolete, fix for new Node Version.
// Ideally PR should be made which rewrite's all observe's with the new Proxy's
require('object.observe');
var Phidget = require('./lib/Phidget.js').Phidget;
var Manager = require('./lib/Manager.js').Manager;
var GPS = require('./lib/GPS.js').Phidget;
var InterfaceKit = require('./lib/InterfaceKit.js').Phidget;
var RFID = require('./lib/RFID.js').Phidget;
var Spatial = require('./lib/Spatial.js').Phidget;
var Servo = require('./lib/Servo.js').Phidget;
var Analog = require('./lib/Analog.js').Phidget;
var TemperatureSensor = require('./lib/TemperatureSensor.js').Phidget;
var WeightSensor = require('./lib/WeightSensor.js').Phidget;
var MotorControl = require('./lib/MotorControl.js').Phidget;
exports.Phidget = Phidget;
exports.Manager = Manager;
exports.GPS = GPS;
exports.InterfaceKit = InterfaceKit;
exports.RFID = RFID;
exports.Spatial = Spatial;
exports.Servo = Servo;
exports.TemperatureSensor = TemperatureSensor;
exports.Analog = Analog;
exports.WeightSensor = WeightSensor;
exports.MotorControl = MotorControl;
//backwards compatibilirty only below
exports.phidget = Phidget;