CodeUC HRI2  v2.0
Microcontroller firmware of the board used during the HRI labs.
strain_gauge.h
Go to the documentation of this file.
1 #ifndef __STRAIN_GAUGE_H
2 #define __STRAIN_GAUGE_H
3 
4 #include "../main.h"
5 #include "adc.h"
6 
27 void sg_Init(AdcChannel channel);
28 float32_t sg_Get(void);
29 
34 #endif
void sg_Init(AdcChannel channel)
Initialize the strain gauge driver.
Definition: strain_gauge.c:12
AdcChannel
Enum that corresponds to the two ADC input channels of the board.
Definition: adc.h:63
float32_t sg_Get(void)
Return the measured force on the paddle.
Definition: strain_gauge.c:27