loadcell7 2.1.0.0
|
Load Cell 7 Click example. More...
Macros | |
#define | LOADCELL7_CALIBRATION_WEIGHT_G 1000.0 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Load Cell 7 Click example.
This example demonstrates the use of Load Cell 7 click by measuring the weight in grams of the goods from the load cell sensor connected to the click board.
The demo application is composed of two sections :
Initializes the driver and reads the tare scale of the empty container, and after that, it calibrates the weight scale with a known calibration weight.
Reads the net weight of the goods in grams approximately once per second and logs the results on the USB UART.
#define LOADCELL7_CALIBRATION_WEIGHT_G 1000.0 |
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |