APM:Libraries
libraries
AP_Notify
NavioLED.cpp
Go to the documentation of this file.
1
/*
2
NavioLED driver
3
*/
4
5
/*
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
*/
17
18
#include "
NavioLED.h
"
19
20
#define NAVIO_LED_BRIGHT 0x0 // full brightness
21
#define NAVIO_LED_MEDIUM 0x7F // medium brightness
22
#define NAVIO_LED_DIM 0x4F // dim brightness
23
#define NAVIO_LED_OFF 0xFF // off
24
25
NavioLED::NavioLED
() :
26
RGBLed
(
NAVIO_LED_OFF
,
NAVIO_LED_BRIGHT
,
NAVIO_LED_MEDIUM
,
NAVIO_LED_DIM
)
27
{
28
29
}
RGBLed
Definition:
RGBLed.h:25
NAVIO_LED_BRIGHT
#define NAVIO_LED_BRIGHT
Definition:
NavioLED.cpp:20
NAVIO_LED_OFF
#define NAVIO_LED_OFF
Definition:
NavioLED.cpp:23
NavioLED.h
NAVIO_LED_DIM
#define NAVIO_LED_DIM
Definition:
NavioLED.cpp:22
NavioLED::NavioLED
NavioLED()
Definition:
NavioLED.cpp:25
NAVIO_LED_MEDIUM
#define NAVIO_LED_MEDIUM
Definition:
NavioLED.cpp:21
Generated on Sun Jun 17 2018 14:18:50 for APM:Libraries by
1.8.13