2015-07-10 06:01:56 -07:00
|
|
|
/*
|
2019-09-22 06:56:06 -07:00
|
|
|
* @file boards.h
|
2015-07-10 06:01:56 -07:00
|
|
|
*
|
2019-09-22 06:56:06 -07:00
|
|
|
* @date Nov 15, 2013
|
2020-01-07 21:02:40 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
2019-11-14 21:00:13 -08:00
|
|
|
#pragma once
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2019-09-22 06:56:06 -07:00
|
|
|
#include "engine_configuration.h"
|
2019-09-22 13:52:22 -07:00
|
|
|
#include "adc_math.h"
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2019-02-28 18:09:31 -08:00
|
|
|
#define ADC_CHANNEL_VREF 0
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2019-09-22 07:02:07 -07:00
|
|
|
int getAdcValue(const char *msg, adc_channel_e channel);
|