feat: added cursor operations

This commit is contained in:
2026-01-26 15:54:23 +03:00
parent 79f5ed0ad8
commit e172d045a6
3 changed files with 42 additions and 1 deletions

View File

@@ -96,6 +96,25 @@ extern "C"
*/
esp_err_t zh_160x_clear_row(zh_pcf8574_handle_t *handle, uint8_t row);
/**
* @brief Enable the cursor.
*
* @param[in] handle Pointer to unique PCF8574 handle.
* @param[in] blink Blink mode.
*
* @return ESP_OK if success or an error code otherwise.
*/
esp_err_t zh_160x_on_cursor(zh_pcf8574_handle_t *handle, bool blink);
/**
* @brief Disable the cursor.
*
* @param[in] handle Pointer to unique PCF8574 handle.
*
* @return ESP_OK if success or an error code otherwise.
*/
esp_err_t zh_160x_off_cursor(zh_pcf8574_handle_t *handle);
#ifdef __cplusplus
}
#endif