mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-20 14:51:59 +01:00
Fix all compiler warnings and migrate off depreciated ADC and I2C libraries. --------- Co-authored-by: Erik Olof Gunnar Andersson <eandersson@users.noreply.github.com>
15 lines
324 B
C
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_ */
|