summaryrefslogtreecommitdiff
path: root/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-13 14:29:30 -0700
committerKeith Packard <keithp@keithp.com>2009-05-13 14:29:30 -0700
commitd085d43701e3cdd2119e947a9ae45baa78c80318 (patch)
treef4cf3593945017deeb21cb234760563fa1c9c455 /ao.h
parent055331d5f7d5adc40c348c3efd331a562dcda82a (diff)
Indicate RSSI with a blinking LED
Blink the red LED at a rate proportional to the RSSI value. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao.h')
-rw-r--r--ao.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ao.h b/ao.h
index fb06df06..96dd02d0 100644
--- a/ao.h
+++ b/ao.h
@@ -44,7 +44,7 @@ struct ao_task {
extern __xdata struct ao_task *__data ao_cur_task;
-#define AO_NUM_TASKS 10 /* maximum number of tasks */
+#define AO_NUM_TASKS 16 /* maximum number of tasks */
#define AO_NO_TASK 0 /* no task id */
/*
@@ -834,6 +834,16 @@ void
ao_config_init(void);
/*
+ * ao_rssi.c
+ */
+
+void
+ao_rssi_set(int rssi_value);
+
+void
+ao_rssi_init(uint8_t rssi_led);
+
+/*
* ao_product.c
*
* values which need to be defined for