2014-08-29 07:52:33 -07:00
|
|
|
/*
|
|
|
|
* boards.h
|
|
|
|
*
|
|
|
|
* Created on: Nov 15, 2013
|
2015-01-12 16:05:46 -08:00
|
|
|
* Author: Andrey Belomutskiy, (c) 2012-2015
|
2014-08-29 07:52:33 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef BOARDS_H_
|
|
|
|
#define BOARDS_H_
|
|
|
|
|
|
|
|
#define ADC_CHANNEL_VREF 0
|
|
|
|
|
|
|
|
#define TEST_MAF_CHANNEL 10000013
|
|
|
|
|
|
|
|
float getVoltageDivided(int);
|
|
|
|
float getVoltage(int channel);
|
|
|
|
int getAdcValue(int channel);
|
|
|
|
|
|
|
|
#endif /* BOARDS_H_ */
|