File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ One-Line Installer(Linux/OSX): Execute the following in a shell to install WearS
60
60
arduino
61
61
ar
62
62
eyetracking
63
+ myo
63
64
tips
64
65
wire
65
66
contributing
Original file line number Diff line number Diff line change 1
- Glass Sensors
2
- ==============
1
+ Sensors
2
+ =======
3
3
4
4
sensorOff(int type) : void
5
5
Turns off sensor
6
6
7
7
8
- sensorOn(int type, double period, [Function callback]) : void
9
- Turn on the sensor and produce data no faster than the specific period. Best used with WS.sensor like WS.sensorOn(WS.sensor('light'), .5).
8
+ sensorOn(String type, double period, [Function callback]) : void
9
+ Turn on the sensor and produce data no faster than the specific period.
10
10
Optional callback name that is called at most once per period of the form `function callback(data) ` with data being an object with the properties:
11
11
12
12
:name(string): Unique sensor name (uses Android name if one exists)
You can’t perform that action at this time.
0 commit comments