ESP-Miner/main/DS4432U.h
Skot e1bf30b26e
Fix compiler warnings (#381)
Fix all compiler warnings and migrate off depreciated ADC and I2C libraries.
---------
Co-authored-by: Erik Olof Gunnar Andersson <eandersson@users.noreply.github.com>
2024-10-08 11:27:32 -04:00

15 lines
324 B
C

#ifndef DS4432U_H_
#define DS4432U_H_
#include <stdbool.h>
#include "esp_check.h"
#define DS4432_VRFS 0.997
bool DS4432U_test(void);
esp_err_t DS4432U_init(void);
esp_err_t DS4432U_set_current_code(uint8_t output, uint8_t code);
esp_err_t DS4432U_get_current_code(uint8_t output, uint8_t *code);
#endif /* DS4432U_H_ */