Add calibration routine from shell
This commit is contained in:
@@ -20,13 +20,16 @@
|
||||
#ifndef __CALIBRATION_H__
|
||||
#define __CALIBRATION_H__
|
||||
|
||||
#define CALIBRATION_MAX_STDDEV_OHM 1.0f
|
||||
#define CALIBRATION_MAX_PEAK_PEAK_NOISE_OHM 8.0f
|
||||
|
||||
#include <stdint.h>
|
||||
#include <shellmatta.h>
|
||||
|
||||
void calibration_calculate(float low_measured, float low_setpoint, float high_measured, float high_setpoint,
|
||||
float *sens_deviation, float *sens_corrected_offset);
|
||||
|
||||
int calibration_acquire_data(float *mu, float *sigma, uint32_t count);
|
||||
int calibration_acquire_data(float *mu, float *max_dev, uint32_t count);
|
||||
|
||||
int calibration_sequence_shell_cmd(shellmatta_handle_t shell);
|
||||
|
||||
#endif /* __CALIBRATION_H__ */
|
||||
|
Reference in New Issue
Block a user