You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _data/ports.json
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -99,10 +99,10 @@
99
99
],
100
100
"module": "ht-nxt-smux",
101
101
"name": "ht-nxt-smux-port",
102
-
"notes": "\n[^port-name-prefix]: The full `port_name` is in the format:\n ^\n [<parent-port-name>:]mux<n>\n ^\n For example, if we are looking at port 1 of this mux plugged into\n input port 2 on the EV3, the port name will be `in2:i2c08:mux1`.\n\n",
102
+
"notes": "\n[^address-prefix]: The full `address` is in the format:\n ^\n [<parent-address>:]mux<n>\n ^\n For example, if we are looking at port 1 of this mux plugged into\n input port 2 on the EV3, the address will be `in2:i2c08:mux1`.\n\n",
"notes": "\n[^port-name-prefix]: The full `port_name` is in the format:\n ^\n [<parent-port-name>:]mux<n>\n ^\n For example, if we are looking at port 1 of this mux plugged into\n input port 2 on the EV3, the port name will be `in2:i2c50:mux1`.\n\n",
240
+
"notes": "\n[^address-prefix]: The full `address` is in the format:\n ^\n [<parent-address>:]mux<n>\n ^\n For example, if we are looking at port 1 of this mux plugged into\n input port 2 on the EV3, the address will be `in2:i2c50:mux1`.\n\n",
"notes": "\n[^prefix]: The full port name will be something like `in2:i2c3:M1`\n depending on what port the motor multiplexer is plugged into.\n\n",
260
+
"notes": "\n[^prefix]: The full address will be something like `in2:i2c3:M1`\n depending on what port the motor multiplexer is plugged into.\n\n",
261
261
"num_modes": 1,
262
262
"prefix": "M",
263
263
"prefix_footnote": "[^prefix]",
@@ -310,10 +310,10 @@
310
310
],
311
311
"module": "pistorms-ports-in",
312
312
"name": "pistorms-in-port",
313
-
"notes": "\n[^port-name-prefix]: The full `port_name` is in the format:\n ^\n pistorms:B<b>:<prefix><n>\n ^\n For example, if we are looking at the port labeled \"BBS2\" on the\n PiStorms, the port name will be `pistorms:BB:S2`.\n\n",
313
+
"notes": "\n[^address-prefix]: The full `address` is in the format:\n ^\n pistorms:B<b>:<prefix><n>\n ^\n For example, if we are looking at the port labeled \"BBS2\" on the\n PiStorms, the address will be `pistorms:BB:S2`.\n\n",
"notes": "\n[^prefix]: The full port name will be something like `pistorms:BAM1`\n depending on what port the motor multiplexer is plugged into.\n\n",
333
+
"notes": "\n[^prefix]: The full address will be something like `pistorms:BAM1`.\n\n",
334
334
"num_modes": 1,
335
335
"prefix": "M",
336
336
"prefix_footnote": "[^prefix]",
@@ -350,10 +350,10 @@
350
350
],
351
351
"module": "wedo",
352
352
"name": "wedo-port",
353
-
"notes": "\n[^port-name-prefix]: The full `port_name` is in the format:\n ^\n usb<usb-path>:wedo<n>\n ^\n The USB path might be something like `1-1.3:1.0`. Read more about\n it [here](http://gajjarpremal.blogspot.in/2015/04/sysfs-structures-for-linux-usb.html).\n Run `lsusb -t` to help figure out the correct path for your WeDo hub.\n ^\n For example, this...\n ^\n /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M\n |__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M\n |__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=wedo, 1.5M\n ^\n ...translates to `usb5-4.2:1.0:wedo1`. You can see how `Bus 05`,\n `Port 4` and `Port 2` result in `5-4.2`. The last bit (configuration\n and interface) will always be `:1.0`.\n\n",
353
+
"notes": "\n[^address-prefix]: The full `address` is in the format:\n ^\n usb<usb-path>:wedo<n>\n ^\n The USB path might be something like `1-1.3:1.0`. Read more about\n it [here](http://gajjarpremal.blogspot.in/2015/04/sysfs-structures-for-linux-usb.html).\n Run `lsusb -t` to help figure out the correct path for your WeDo hub.\n ^\n For example, this...\n ^\n /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M\n |__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M\n |__ Port 2: Dev 6, If 0, Class=Human Interface Device, Driver=wedo, 1.5M\n ^\n ...translates to `usb5-4.2:1.0:wedo1`. You can see how `Bus 05`,\n `Port 4` and `Port 2` result in `5-4.2`. The last bit (configuration\n and interface) will always be `:1.0`.\n\n",
Copy file name to clipboardExpand all lines: _data/sensors.json
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2036,7 +2036,7 @@
2036
2036
"si_max": "1000",
2037
2037
"units": "pct",
2038
2038
"units_description": "percent",
2039
-
"value0": "Reflected light intensity (0 to 100)"
2039
+
"value0": "Reflected light intensity (0 to 1000)"
2040
2040
},
2041
2041
{
2042
2042
"data_sets": "1",
@@ -2051,7 +2051,7 @@
2051
2051
"si_max": "1000",
2052
2052
"units": "pct",
2053
2053
"units_description": "percent",
2054
-
"value0": "Ambient light intensity (0 to 100)"
2054
+
"value0": "Ambient light intensity (0 to 1000)"
2055
2055
}
2056
2056
],
2057
2057
"name": "lego-nxt-light",
@@ -2472,7 +2472,7 @@
2472
2472
"units_description": "degrees",
2473
2473
"value0": "X-axis angle (0 to 180)",
2474
2474
"value1": "Y-axis angle (0 to 180)",
2475
-
"value2": "Y-axis angle (0 to 180)"
2475
+
"value2": "Z-axis angle (0 to 180)"
2476
2476
},
2477
2477
{
2478
2478
"data_sets": "3",
@@ -3193,7 +3193,7 @@
3193
3193
}
3194
3194
],
3195
3195
"name": "ms-nxtmmx",
3196
-
"notes": "\n[^address]: The address is programmable. See manufacturer\n documentation for more information.\n\n[^tacho-motor-devices]: The NxtMMX driver also loads two\n [tacho-motor] class devices. Use the tacho-motor class devices\n to actually control the motors. You can identify the motors\n by the `port_name` attribute. It will be `in<X>:i2c<Y>:mux<Z>`\n where `<X>` is 1-4, `<Y>` is 3 (unless you changed the address)\n and `<Z>` is 1 or 2 (matches M1 or M2 printed on the NxtMMX).\n ^\n [tacho-motor]: /docs/drivers/tacho-motor-class\n\n",
3196
+
"notes": "\n[^address]: The address is programmable. See manufacturer\n documentation for more information.\n\n[^tacho-motor-devices]: The NxtMMX driver also loads two\n [tacho-motor] class devices. Use the tacho-motor class devices\n to actually control the motors. You can identify the motors\n by the `address` attribute. It will be `in<X>:i2c<Y>:mux<Z>`\n where `<X>` is 1-4, `<Y>` is 3 (unless you changed the address)\n and `<Z>` is 1 or 2 (matches M1 or M2 printed on the NxtMMX).\n ^\n [tacho-motor]: /docs/drivers/tacho-motor-class\n\n",
3197
3197
"num_modes": "2",
3198
3198
"ops": [],
3199
3199
"product_id": "NxTMMX",
@@ -3256,7 +3256,7 @@
3256
3256
}
3257
3257
],
3258
3258
"name": "ms-8ch-servo",
3259
-
"notes": "\n[^address]: The address is programmable. See manufacturer\n documentation for more information.\n\n[^servo-motor-devices]: The `ms-8ch-servo` driver loads separate\n servo motor devices (one for each of the 8 channels) in addition\n to the [lego-sensor class] device. See the [servo-motor class]\n for more information. The `servo-motor` class `port_name` attribute\n will return `in<X>:i2c<Y>:sv<Z>` where `<X>` is the input port\n the servo controller is connected to, `<Y>` is the address and\n `<Z>` is the channel as indicated on the servo controller itself.\n ^\n [lego-sensor class]: /docs/drivers/lego-sensor-class\n [servo-motor class]: /docs/drivers/servo-motor-class\n\n",
3259
+
"notes": "\n[^address]: The address is programmable. See manufacturer\n documentation for more information.\n\n[^servo-motor-devices]: The `ms-8ch-servo` driver loads separate\n servo motor devices (one for each of the 8 channels) in addition\n to the [lego-sensor class] device. See the [servo-motor class]\n for more information. The `servo-motor` class `address` attribute\n will return `in<X>:i2c<Y>:sv<Z>` where `<X>` is the input port\n the servo controller is connected to, `<Y>` is the address and\n `<Z>` is the channel as indicated on the servo controller itself.\n ^\n [lego-sensor class]: /docs/drivers/lego-sensor-class\n [servo-motor class]: /docs/drivers/servo-motor-class\n\n",
0 commit comments