LibDriver HX711
Loading...
Searching...
No Matches
driver_hx711_basic.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_HX711_BASIC_H
39#define DRIVER_HX711_BASIC_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
53
57#define HX711_BASIC_DEFAULT_MODE HX711_MODE_CHANNEL_A_GAIN_128
58
66uint8_t hx711_basic_init(void);
67
75uint8_t hx711_basic_deinit(void);
76
86uint8_t hx711_basic_read(int32_t *raw_voltage, double *voltage_v);
87
91
92#ifdef __cplusplus
93}
94#endif
95
96#endif
driver hx711 interface header file
uint8_t hx711_basic_read(int32_t *raw_voltage, double *voltage_v)
basic example read
uint8_t hx711_basic_deinit(void)
basic example deinit
uint8_t hx711_basic_init(void)
basic example init