ardupilot/libraries/AP_Notify/DroneCAN_RGB_LED.h

19 lines
412 B
C
Raw Normal View History

#pragma once
#include "RGBLed.h"
class DroneCAN_RGB_LED: public RGBLed {
public:
DroneCAN_RGB_LED(uint8_t led_index, uint8_t led_off, uint8_t led_full,
uint8_t led_medium, uint8_t led_dim);
DroneCAN_RGB_LED(uint8_t led_index);
bool init() override;
protected:
virtual bool hw_set_rgb(uint8_t red, uint8_t green, uint8_t blue) override;
private:
uint8_t _led_index;
};