summaryrefslogtreecommitdiff
path: root/digital/beacon/src/laser.h
diff options
context:
space:
mode:
authorFlorent Duchon2012-04-22 22:47:32 +0200
committerFlorent Duchon2012-05-04 00:06:27 +0200
commitb918019c6bd7d07ffc22e5a0bf91b699a7bace1a (patch)
tree5c1ff92cb265e3bcd5082dd15c0202f1b58ba794 /digital/beacon/src/laser.h
parent92f79991955f6448ae8099ae61aa90caf64cdd05 (diff)
digital/beacon: add get/set angle functions for laser structure
Diffstat (limited to 'digital/beacon/src/laser.h')
-rw-r--r--digital/beacon/src/laser.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/digital/beacon/src/laser.h b/digital/beacon/src/laser.h
index cb9a4bf2..d9d24b1e 100644
--- a/digital/beacon/src/laser.h
+++ b/digital/beacon/src/laser.h
@@ -57,4 +57,10 @@ void laser_inhibit_angle_confirmation(void);
/* This function configures the AVR OC3B interrupt that will send the angle LASER_SENDING_OFFSET after the latest rising edge */
void laser_engage_angle_confirmation(uint16_t value);
+/* This function returns the angle value */
+uint16_t laser_get_angle(void);
+
+/* This function sets the angle value */
+void laser_set_angle(uint16_t angle);
+
#endif