X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=projects%2Fmicrob2010%2Fcobboard%2Fsensor.h;h=0ba6b0cbcec843c1e09f9a8bcda9b5473e6d4c26;hb=6914527de2ecfef9d790740c71739e7418246b96;hp=27460db27b516188b77b564a5c0a3b5030558539;hpb=8d6a47e9e21a9a31f4bc12d32fb3d11091a4b305;p=aversive.git diff --git a/projects/microb2010/cobboard/sensor.h b/projects/microb2010/cobboard/sensor.h index 27460db..0ba6b0c 100644 --- a/projects/microb2010/cobboard/sensor.h +++ b/projects/microb2010/cobboard/sensor.h @@ -1,7 +1,7 @@ -/* +/* * Copyright Droids Corporation (2009) * Olivier MATZ - * + * * 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 @@ -28,14 +28,14 @@ #define ADC_MAX 4 /* synchronize with sensor.c */ -#define S_CAP1 0 -#define S_FRONT 1 -#define S_CAP3 2 +#define S_COB_INSIDE_L 0 +#define S_CAP2 1 +#define S_COB_INSIDE_R 2 #define S_CAP4 3 -#define S_COL_LEFT 4 +#define S_LCOB 4 #define S_LEFT 5 #define S_RIGHT 6 -#define S_COL_RIGHT 7 +#define S_RCOB 7 #define S_RESERVED1 8 #define S_RESERVED2 9 #define S_RESERVED3 10