PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Driver for the onboard RGB LED controller by PWM. More...
#include <string.h>
#include <lib/led/led.h>
#include <px4_platform_common/getopt.h>
#include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp>
Go to the source code of this file.
Classes | |
class | RGBLED_PWM |
Functions | |
int | led_pwm_servo_set (unsigned channel, uint8_t value) |
unsigned | led_pwm_servo_get (unsigned channel) |
int | led_pwm_servo_init (void) |
void | led_pwm_servo_deinit (void) |
static void | rgbled_usage () |
__EXPORT int | rgbled_pwm_main (int argc, char *argv[]) |
Driver for the onboard RGB LED controller by PWM.
this driver is based the PX4 led driver
Definition in file rgbled_pwm.cpp.
void led_pwm_servo_deinit | ( | void | ) |
unsigned led_pwm_servo_get | ( | unsigned | channel | ) |
int led_pwm_servo_init | ( | void | ) |
int led_pwm_servo_set | ( | unsigned | channel, |
uint8_t | value | ||
) |
__EXPORT int rgbled_pwm_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 233 of file rgbled_pwm.cpp.
References OK, RGBLED_PWM::RGBLED_PWM(), and rgbled_usage().
|
static |
Definition at line 227 of file rgbled_pwm.cpp.
Referenced by rgbled_pwm_main().