ardupilot/libraries/AP_Notify/DroneCAN_RGB_LED.h

18 lines
417 B
C++

#pragma once
#include "RGBLed.h"
#if HAL_ENABLE_DRONECAN_DRIVERS
#include <AP_DroneCAN/AP_DroneCAN.h>
class DroneCAN_RGB_LED: public RGBLed {
public:
DroneCAN_RGB_LED(uint8_t led_off, uint8_t led_full,
uint8_t led_medium, uint8_t led_dim);
DroneCAN_RGB_LED();
bool init() override;
protected:
virtual bool hw_set_rgb(uint8_t red, uint8_t green, uint8_t blue) override;
};
#endif