20 lines
368 B
C
20 lines
368 B
C
/*
|
|
* boards.h
|
|
*
|
|
* Created on: Nov 15, 2013
|
|
* Author: Andrey Belomutskiy, (c) 2012-2015
|
|
*/
|
|
|
|
#ifndef BOARDS_H_
|
|
#define BOARDS_H_
|
|
|
|
#define ADC_CHANNEL_VREF 0
|
|
|
|
#define TEST_MAF_CHANNEL 10000013
|
|
|
|
float getVoltageDivided(const char *msg, int);
|
|
float getVoltage(const char *msg, int channel);
|
|
int getAdcValue(const char *msg, int channel);
|
|
|
|
#endif /* BOARDS_H_ */
|