From 2700442e8ecb331844687e349f5b20162a008b27 Mon Sep 17 00:00:00 2001 From: Maxime Hadjinlian Date: Sun, 29 May 2011 14:20:56 +0200 Subject: digital/avr/module: add module servo from digital/io/src --- digital/avr/modules/devices/servo/avrconfig.h | 33 +++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 digital/avr/modules/devices/servo/avrconfig.h (limited to 'digital/avr/modules/devices/servo/avrconfig.h') diff --git a/digital/avr/modules/devices/servo/avrconfig.h b/digital/avr/modules/devices/servo/avrconfig.h new file mode 100644 index 00000000..d192598a --- /dev/null +++ b/digital/avr/modules/devices/servo/avrconfig.h @@ -0,0 +1,33 @@ +#ifndef avrconfig_h +#define avrconfig_h +/* avrconfig.h */ +/* avr.devices.servo - Servo AVR module. {{{ + * + * Copyright (C) 2011 Maxime Hadjinlian + * + * APBTeam: + * Web: http://apbteam.org/ + * Email: team AT apbteam DOT org + * + * 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. + * + * }}} */ + +/* servo - Servo module. */ +/** All servos are currently connected to the same port. */ +#define AC_SERVO_PORT PORTA +#define AC_SERVO_DDR DDRA + +#endif /* avrconfig_h */ -- cgit v1.2.3