Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
hx711.h File Reference

Interface for the HX711 sensor. More...

#include "std.h"
Include dependency graph for hx711.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void hx711_init (void)
void hx711_event (void)
 Start a measurement and publish the results when possible.

Detailed Description

Interface for the HX711 sensor.

Definition in file hx711.h.

Function Documentation

◆ hx711_event()

void hx711_event ( void )

Start a measurement and publish the results when possible.

Definition at line 135 of file hx711.c.

References DefaultChannel, DefaultDevice, get_sys_time_float(), get_sys_time_usec(), gpio_get(), hx711, HX711_DEVICES_NB, HX711_FORCE_SENSOR_ID, hx711_meas_time, HX711_PERIOD, and pprzlog_tp.

Here is the call graph for this function:

◆ hx711_init()

void hx711_init ( void )

Definition at line 110 of file hx711.c.

References gpio_setup_input(), gpio_setup_pin_af(), hx711, HX711_DEVICES_NB, pwmcfg, and pwmpcb().

Here is the call graph for this function: