X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Ftests%2Ftest_board2008%2Fencoders_microb_config.h;fp=projects%2Fmicrob2010%2Ftests%2Ftest_board2008%2Fencoders_microb_config.h;h=9c8b9e0e8c5214c98012cb3fdf0c16dc18ac7d3a;hp=0000000000000000000000000000000000000000;hb=5918edd6f4f713ef3c8b0b0020dd30a4fb8222ae;hpb=9d2d9100592e18fed985730298215884127fc568 diff --git a/projects/microb2010/tests/test_board2008/encoders_microb_config.h b/projects/microb2010/tests/test_board2008/encoders_microb_config.h new file mode 100644 index 0000000..9c8b9e0 --- /dev/null +++ b/projects/microb2010/tests/test_board2008/encoders_microb_config.h @@ -0,0 +1,45 @@ +/* + * Copyright Droids Corporation, Microb Technology, Eirbot (2005) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Revision : $Id: encoders_microb_config.h,v 1.3.4.1 2006-11-26 21:06:04 zer0 Exp $ + * + */ +#ifndef _ENCODERS_MICROB_CONFIG_H_ +#define _ENCODERS_MICROB_CONFIG_H_ + +/** number of the LAST encoders used + 1 */ +#define ENCODERS_MICROB_NUMBER 4 + +#define ENCODERS_MICROB_SEL_PORT PORTB +#define ENCODERS_MICROB_SEL_BIT 0 + +#define ENCODERS_MICROB0_ENABLED +#define ENCODERS_MICROB0_PIN PINA + +#define ENCODERS_MICROB1_ENABLED +#define ENCODERS_MICROB1_PIN PINA + +#define ENCODERS_MICROB2_ENABLED +#define ENCODERS_MICROB2_PIN PINC + +#define ENCODERS_MICROB3_ENABLED +#define ENCODERS_MICROB3_PIN PINC + + +// ... until 7 + +#endif