CodeUC HRI2
v2.0
Microcontroller firmware of the board used during the HRI labs.
Main Page
Modules
Data Structures
Files
File List
Globals
src
drivers
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
sg_Init
void sg_Init(AdcChannel channel)
Initialize the strain gauge driver.
Definition:
strain_gauge.c:12
AdcChannel
AdcChannel
Enum that corresponds to the two ADC input channels of the board.
Definition:
adc.h:63
adc.h
sg_Get
float32_t sg_Get(void)
Return the measured force on the paddle.
Definition:
strain_gauge.c:27
Generated on Fri May 13 2016 17:54:05 for CodeUC HRI2 by
1.8.10