/* 
 * File:   config.h
 * Author: hamilton
 *
 * Created on January 15, 2014, 4:29 PM
 */

#ifndef CONFIG_H
#define	CONFIG_H

#define CODE_VERSION 1
#define CODE_SUBVERSION 0

//#define ALLOW_CALIBRATION  //This allows the controller to be put into calibration mode and displays raw counts for the AIO on the serial port.

#define OUTPUT_RATE 5  //Must be 5, 10 or 25

#define PADDLEWHEEL _RD5

/******** Configure Analog IO here  *********/


#define NUMAIO 6
#define FILTERSAMPLES 32  //Must be 1,2,4,8,16,32,64,128.  Must match FIR filter length

#define AIOMASK_H 0xfffc  //Select AN16-AN17 to be sampled and scanned
#define AIOMASK_L 0xf3fc  //Select AN0,AN1,AN10,AN11 to be sampled and scanned, total must match NUMAIO

#define PADDLEWHEEL_FILTERSAMPLES OUTPUT_RATE+1

#define K_FACTOR 17.633

#endif	/* CONFIG_H */

