summaryrefslogtreecommitdiff
path: root/digital/beacon/src/sensors.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-04-21 16:42:16 +0200
committerFlorent Duchon2012-04-21 18:05:03 +0200
commit90527d1cf27582b1e7bb8588afbed8989453f606 (patch)
tree85a51ed6b31de8698bf7ff0b6b9d504e1c4d5626 /digital/beacon/src/sensors.h
parent7c8f2999d8a61fa4f7666484a9ead9541121d4c0 (diff)
digital/beacon: split sensors.* into codewheel.* & laser.* and modify dedicated calls
Diffstat (limited to 'digital/beacon/src/sensors.h')
-rw-r--r--digital/beacon/src/sensors.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/digital/beacon/src/sensors.h b/digital/beacon/src/sensors.h
deleted file mode 100644
index f2aa3c3b..00000000
--- a/digital/beacon/src/sensors.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* sensors.h */
-/* Beacon sensors management. {{{
- *
- * Copyright (C) 2012 Florent Duchon
- *
- * 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.
- *
- * }}} */
-
-#ifndef _SENSORS_H
-#define _SENSORS_H
-
-#define CODEWHEEL_CPR 499
-
-/* This function initializes the laser pin input and associated interrupt */
-void sensors_laser_init(void);
-
-/* This function initializes the codewheel optical sensors and associated interrupt */
-void sensors_codewheel_init(void);
-
-/* This function returns the wheel position */
-uint16_t sensors_codewheel_get_value(void);
-
-/* This function resets the wheel position */
-void sensors_codewheel_reset(void);
-
-#endif \ No newline at end of file