diff options
author | Keith Packard <keithp@keithp.com> | 2009-05-13 14:29:30 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-05-13 14:29:30 -0700 |
commit | d085d43701e3cdd2119e947a9ae45baa78c80318 (patch) | |
tree | f4cf3593945017deeb21cb234760563fa1c9c455 /ao.h | |
parent | 055331d5f7d5adc40c348c3efd331a562dcda82a (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.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 |