|
20 | 20 | "num_modes": "1", |
21 | 21 | "sensor_type": "ev3-analog-sensor", |
22 | 22 | "source_file": "drivers/lego/sensors/ev3_analog_sensor_defs.c", |
23 | | - "source_line": 45, |
| 23 | + "source_line": 48, |
24 | 24 | "url_name": "generic-ev3-analog-sensor", |
25 | 25 | "vendor_part_name": "Generic EV3 Analog Sensor" |
26 | 26 | }, |
|
743 | 743 | "data_type": "LEGO_SENSOR_DATA_S8", |
744 | 744 | "description": "Compass Direction", |
745 | 745 | "id": "0", |
746 | | - "name": "COMAPASS", |
| 746 | + "name": "COMPASS", |
747 | 747 | "raw_max": "180", |
748 | 748 | "si_max": "180", |
749 | 749 | "units": "deg", |
|
758 | 758 | "source_file": "drivers/lego/sensors/nxt_i2c_sensor_defs.c", |
759 | 759 | "source_line": 299, |
760 | 760 | "url_name": "hitechnic-nxt-compass-sensor", |
761 | | - "vendor_id": "HiTechnc", |
| 761 | + "vendor_id": "HITECHNC", |
762 | 762 | "vendor_name": "HiTechnic", |
763 | 763 | "vendor_part_name": "NXT Compass Sensor", |
764 | 764 | "vendor_part_number": "NMC1034", |
|
870 | 870 | "value5_footnote": "[^values]" |
871 | 871 | } |
872 | 872 | ], |
873 | | - "name": "ht-nxt-ir-seeker-v2", |
| 873 | + "name": "ht-nxt-ir-seek-v2", |
874 | 874 | "num_modes": "4", |
875 | 875 | "product_id": "NewIRDir", |
876 | 876 | "sensor_type": "nxt-i2c-sensor", |
|
981 | 981 | "i2c_mode_info": [ |
982 | 982 | { |
983 | 983 | "id": "0", |
| 984 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
984 | 985 | "read_data_reg": "0" |
985 | 986 | }, |
986 | 987 | { |
987 | 988 | "id": "1", |
| 989 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
988 | 990 | "read_data_reg": "0" |
989 | 991 | }, |
990 | 992 | { |
991 | 993 | "id": "2", |
| 994 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
992 | 995 | "read_data_reg": "0" |
993 | 996 | }, |
994 | 997 | { |
995 | 998 | "id": "3", |
| 999 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
996 | 1000 | "read_data_reg": "0" |
997 | 1001 | }, |
998 | 1002 | { |
999 | 1003 | "id": "4", |
| 1004 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
1000 | 1005 | "read_data_reg": "0" |
1001 | 1006 | }, |
1002 | 1007 | { |
1003 | 1008 | "id": "5", |
| 1009 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
1004 | 1010 | "read_data_reg": "0" |
1005 | 1011 | }, |
1006 | 1012 | { |
1007 | 1013 | "id": "6", |
| 1014 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
1008 | 1015 | "read_data_reg": "0" |
1009 | 1016 | }, |
1010 | 1017 | { |
1011 | 1018 | "id": "7", |
| 1019 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
1012 | 1020 | "read_data_reg": "0" |
1013 | 1021 | } |
1014 | 1022 | ], |
|
1179 | 1187 | "value0": "Distance (0-1003)" |
1180 | 1188 | } |
1181 | 1189 | ], |
1182 | | - "name": "lego-ev3-uart-30", |
| 1190 | + "name": "ev3-uart-sensor-30", |
1183 | 1191 | "num_modes": "5", |
1184 | 1192 | "num_view_modes": "3", |
1185 | 1193 | "sensor_type": "ev3-uart-sensor", |
|
1224 | 1232 | "data_type": "LEGO_SENSOR_DATA_S16", |
1225 | 1233 | "description": "Raw sensor value ???", |
1226 | 1234 | "id": "2", |
1227 | | - "name": " GYRO-FAS", |
| 1235 | + "name": "GYRO-FAS", |
1228 | 1236 | "value0": "??? (-1464 to 1535)", |
1229 | 1237 | "value0_footnote": "[^direction]" |
1230 | 1238 | }, |
|
1252 | 1260 | "value3": "???" |
1253 | 1261 | } |
1254 | 1262 | ], |
1255 | | - "name": "lego-ev3-uart-32", |
| 1263 | + "name": "ev3-uart-sensor-32", |
1256 | 1264 | "num_modes": "5", |
1257 | 1265 | "num_view_modes": "3", |
1258 | 1266 | "sensor_type": "ev3-uart-sensor", |
|
1332 | 1340 | "value3": "???" |
1333 | 1341 | } |
1334 | 1342 | ], |
1335 | | - "name": "lego-ev3-uart-29", |
| 1343 | + "name": "ev3-uart-sensor-29", |
1336 | 1344 | "num_modes": "6", |
1337 | 1345 | "num_view_modes": "3", |
1338 | 1346 | "sensor_type": "ev3-uart-sensor", |
|
1361 | 1369 | "num_modes": "1", |
1362 | 1370 | "sensor_type": "ev3-analog-sensor", |
1363 | 1371 | "source_file": "drivers/lego/sensors/ev3_analog_sensor_defs.c", |
1364 | | - "source_line": 45, |
| 1372 | + "source_line": 48, |
1365 | 1373 | "url_name": "lego-ev3-touch-sensor", |
1366 | 1374 | "vendor_name": "LEGO", |
1367 | 1375 | "vendor_part_name": "EV3 Touch Sensor", |
|
1461 | 1469 | "value1": "??? (0 to 1023)" |
1462 | 1470 | } |
1463 | 1471 | ], |
1464 | | - "name": "lego-ev3-uart-33", |
| 1472 | + "name": "ev3-uart-sensor-33", |
1465 | 1473 | "num_modes": "6", |
1466 | 1474 | "num_view_modes": "3", |
1467 | 1475 | "sensor_type": "ev3-uart-sensor", |
|
2742 | 2750 | "i2c_mode_info": [ |
2743 | 2751 | { |
2744 | 2752 | "id": "0", |
| 2753 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
2745 | 2754 | "read_data_reg": "0" |
2746 | 2755 | }, |
2747 | 2756 | { |
2748 | 2757 | "id": "1", |
| 2758 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
2749 | 2759 | "read_data_reg": "0" |
2750 | 2760 | }, |
2751 | 2761 | { |
2752 | 2762 | "id": "2", |
| 2763 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
2753 | 2764 | "read_data_reg": "0" |
2754 | 2765 | }, |
2755 | 2766 | { |
2756 | 2767 | "id": "3", |
| 2768 | + "pin1_state": "LEGO_PORT_GPIO_HIGH", |
2757 | 2769 | "read_data_reg": "0" |
2758 | 2770 | } |
2759 | 2771 | ], |
|
2884 | 2896 | } |
2885 | 2897 | ], |
2886 | 2898 | "name": "ms-8ch-servo", |
2887 | | - "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<N>:sv<M>` where `<N>` is the input port the servo\n controller is connected to and `<M>` is the channel as indicated\n on the servo controller itself.\n ^\n [lego-sensor class]: /docs/drivers/lego-sensor-class\n [servo-motor class]: /docs/motors/servo-motor-class\n \n ", |
| 2899 | + "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<N>:sv<M>` where `<N>` is the input port the servo\n controller is connected to and `<M>` is the channel as indicated\n 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 ", |
2888 | 2900 | "num_modes": "2", |
2889 | 2901 | "ops.probe_cb": "ms_8ch_servo_probe_cb", |
2890 | 2902 | "ops.remove_cb": "ms_8ch_servo_remove_cb", |
|
0 commit comments