PX4 Firmware
PX4 Autopilot Software http://px4.io
test_led.c File Reference

Tests for led functionality. More...

#include <px4_platform_common/time.h>
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/posix.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <arch/board/board.h>
#include <drivers/drv_board_led.h>
#include "tests_main.h"
Include dependency graph for test_led.c:

Go to the source code of this file.

Functions

int test_led (int argc, char *argv[])
 

Detailed Description

Tests for led functionality.

Definition in file test_led.c.

Function Documentation

◆ test_led()

int test_led ( int  argc,
char *  argv[] 
)

Definition at line 58 of file test_led.c.

References fd, LED0_DEVICE_PATH, LED_AMBER, LED_BLUE, LED_OFF, LED_ON, px4_ioctl(), and px4_open().

Here is the call graph for this function: