From d085d43701e3cdd2119e947a9ae45baa78c80318 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 13 May 2009 14:29:30 -0700 Subject: Indicate RSSI with a blinking LED Blink the red LED at a rate proportional to the RSSI value. Signed-off-by: Keith Packard --- ao_monitor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ao_monitor.c') diff --git a/ao_monitor.c b/ao_monitor.c index e05e84d8..5930afaa 100644 --- a/ao_monitor.c +++ b/ao_monitor.c @@ -55,6 +55,7 @@ ao_monitor(void) recv.telemetry.adc.sense_d, recv.telemetry.adc.sense_m); ao_gps_print(&recv.telemetry.gps); + ao_rssi_set((int) recv.rssi - 74); } else { printf("CRC INVALID RSSI %3d\n", (int) recv.rssi - 74); } -- cgit v1.2.3