From b918019c6bd7d07ffc22e5a0bf91b699a7bace1a Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Sun, 22 Apr 2012 22:47:32 +0200 Subject: digital/beacon: add get/set angle functions for laser structure --- digital/beacon/src/laser.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'digital/beacon/src/laser.h') 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 -- cgit v1.2.3