wip:
This commit is contained in:
@@ -83,6 +83,16 @@ extern "C"
|
||||
*/
|
||||
esp_err_t zh_encoder_set(zh_encoder_handle_t *handle, double position);
|
||||
|
||||
/**
|
||||
* @brief Get encoder position.
|
||||
*
|
||||
* @param[in] handle Pointer to unique encoder handle.
|
||||
* @param[out] position Encoder position.
|
||||
*
|
||||
* @return ESP_OK if success or an error code otherwise.
|
||||
*/
|
||||
esp_err_t zh_encoder_get(const zh_encoder_handle_t *handle, double *position);
|
||||
|
||||
/**
|
||||
* @brief Reset encoder position.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user