X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fsensorboard%2Factuator.c;fp=projects%2Fmicrob2010%2Fsensorboard%2Factuator.c;h=0000000000000000000000000000000000000000;hp=2895c5a1a867abbd65e18d2780ddf4b0c195fb00;hb=8d6a47e9e21a9a31f4bc12d32fb3d11091a4b305;hpb=821f753c0f88aff895d9feae59c442a6c446f96b diff --git a/projects/microb2010/sensorboard/actuator.c b/projects/microb2010/sensorboard/actuator.c deleted file mode 100644 index 2895c5a..0000000 --- a/projects/microb2010/sensorboard/actuator.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright Droids Corporation (2009) - * - * 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: actuator.c,v 1.2 2009-04-24 19:30:42 zer0 Exp $ - * - */ - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -#include - -#include "main.h" - -#define PICKUP_WHEEL_L_ON 2000 -#define PICKUP_WHEEL_R_ON -2000 -#define PICKUP_WHEEL_L_OFF 0 -#define PICKUP_WHEEL_R_OFF 0 - -void pickup_wheels_on(void) -{ - pwm_ng_set(PICKUP_WHEEL_L_PWM, PICKUP_WHEEL_L_ON); - pwm_ng_set(PICKUP_WHEEL_R_PWM, PICKUP_WHEEL_R_ON); -} - -void pickup_wheels_off(void) -{ - pwm_ng_set(PICKUP_WHEEL_L_PWM, PICKUP_WHEEL_L_OFF); - pwm_ng_set(PICKUP_WHEEL_R_PWM, PICKUP_WHEEL_R_OFF); -} -