52 #define ROTARY_MAX_ANGLE 300 upm_result_t rotary_get_value_angle(rotary_context dev, float *rotval)
Definition: rotary.c:69
rotary_context rotary_init(int pin, float aRef)
Definition: rotary.c:32
upm_result_t rotary_get_value_voltage(const rotary_context dev, float *volts)
Definition: rotary.c:59
struct _rotary_context * rotary_context
void rotary_close(rotary_context dev)
Definition: rotary.c:53