mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-19 06:12:17 +01:00
* switched selftest fail to be non fatal * switched to BOOT longpress to reboot after selftest * lots and lots of error handling cleanup. <slippery slope> * move around the DS4432U_Init() function call
15 lines
329 B
C
15 lines
329 B
C
#ifndef DS4432U_H_
|
|
#define DS4432U_H_
|
|
|
|
#include <stdbool.h>
|
|
#include "esp_check.h"
|
|
|
|
#define DS4432_VRFS 0.997
|
|
|
|
esp_err_t 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_ */
|