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: README.md
+39-29
Original file line number
Diff line number
Diff line change
@@ -106,45 +106,55 @@ For all methods, the ID of the servo is always needed, so be sure to always defi
106
106
|`set_lock(ID,status)`|Define if the EEPROM can be modified.|`status`: a value of 0 if the EEPROM is modified, and 1 if it doesn't want to be modified.|
107
107
|`set_punch(ID, punch)`|Defines minimum current with which the servo would work.|`punch`: The initial value is set to 0x20 and its maximum value is 0x3ff.|
108
108
109
-
#### Especificos de lectura
109
+
#### Specific read methods
110
110
111
-
Todos los metodos de lectura tiene como parámetro nada más que el ID, por lo que no se explica a continucación, solo que hace cada metodo.
112
-
113
-
Tener en cuenta que todos los metodos de lectura, al usarlos, por ahora imprimen todo lo que le llega al microcontrolador. Se tiene que entonces identificar que generalmente el unico print que se mostraría es lo que envia como respuesta el motor. Lo cual correspondera a un paquete del cual se tendrá que identificar los valores regresados.
111
+
Here could be more important to include the parameter `rxbuf` so that you get just what you want from the servo. However, it already has a value and every of the reading methods returns the packet received in `list` form.
| read_model_number(ID) | Lectura el numero de modelo del motor. |
120
-
| read_firmware(ID) | Lectura el firmware que tiene el motor. |
121
-
| read_baudrate(ID) | Lectura el valor de baud rate con el que esta trabajando el motor para la comunicación. |
122
-
| read_delay_time(ID) | Lectura el tiempo de delay entre escritura y respuesta. **Todavia no esta implementado el metodo para el cambio de delay time**|
123
-
| read_cw_angle_limit(ID) | Lectura de angulo limite para el giro horario. |
124
-
| read_ccw_angle_limit(ID) | Lectura de angulo limite para el giro anti-horario. |
125
-
| read_control_mode(ID) | Lectura de modo de control actual. |
126
-
| read_max_torque(ID) | Lectura de torque máximo al cual ha sido seteado el motor. |
127
-
| read_return_level(ID) | Lectura de nivel de retorno en el motor. |
117
+
|`read_model_number(ID)`| Model number of the servo. |
118
+
|`read_firmware(ID)`| Firmware embedded in the servo. |
119
+
|`read_id(ID)`| ID of the connected servo. |
120
+
|`read_baud_rate(ID)`| Current baud rate with which the servo communicates. |
121
+
|`read_return_delay_time(ID)`| The time the servo takes in order to respond after receiving its packet. |
122
+
|`read_cw_angle_limit(ID)`| Limit angle in which the servo can turn with cw direction. |
123
+
|`read_ccw_angle_limit(ID)`| Limit angle in which the servo can turn with ccw direction. |
124
+
|`read_temperature_limit(ID)`| Limit high temperature with which the servo would work. |
125
+
|`read_lowest_voltage(ID)`| Lowest voltage with which the servo would work. |
126
+
|`read_highest_voltage(ID)`| Highest voltage with which the servo would work. |
127
+
|`read_max_torque(ID)`| Max torque the servo would give. |
128
+
|`read_status_return_level(ID)`| Number of the status return level. |
129
+
|`read_alarm_led(ID)`| The alarm led value. |
130
+
|`read_alarm_shutdown(ID)`| The alarm shutdown value. |
131
+
|`read_down_calibration(ID) `| The down calibration value. |
132
+
|`read_up_calibration(ID)`| The up calibration value. |
0 commit comments