/******************************************************************************!
* \file wiring_analog-wpi.c
* \author Sebastien Beaugrand
* \sa http://beaugrand.chez.com/
* \copyright CeCILL 2.1 Free Software license
******************************************************************************/
#include <mcp3002.h>
#define SPI_CH 0
#define PIN_BASE 70 // > 64
/******************************************************************************!
* \fn analogInit
******************************************************************************/
int analogInit()
{
return mcp3002Setup(PIN_BASE, SPI_CH);
}
/******************************************************************************!
* \fn analogQuit
******************************************************************************/
void analogQuit()
{
}