APM:Libraries
libraries
AP_Notify
ToshibaLED.cpp
Go to the documentation of this file.
1
/*
2
ToshibaLED 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
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#include "
ToshibaLED.h
"
21
22
#define TOSHIBA_LED_BRIGHT 0xFF // full brightness
23
#define TOSHIBA_LED_MEDIUM 0x80 // medium brightness
24
#define TOSHIBA_LED_DIM 0x11 // dim
25
#define TOSHIBA_LED_OFF 0x00 // off
26
27
ToshibaLED::ToshibaLED
():
28
RGBLed
(
TOSHIBA_LED_OFF
,
TOSHIBA_LED_BRIGHT
,
TOSHIBA_LED_MEDIUM
,
TOSHIBA_LED_DIM
)
29
{
30
31
}
RGBLed
Definition:
RGBLed.h:25
ToshibaLED::ToshibaLED
ToshibaLED()
Definition:
ToshibaLED.cpp:27
TOSHIBA_LED_BRIGHT
#define TOSHIBA_LED_BRIGHT
Definition:
ToshibaLED.cpp:22
TOSHIBA_LED_DIM
#define TOSHIBA_LED_DIM
Definition:
ToshibaLED.cpp:24
ToshibaLED.h
TOSHIBA_LED_MEDIUM
#define TOSHIBA_LED_MEDIUM
Definition:
ToshibaLED.cpp:23
TOSHIBA_LED_OFF
#define TOSHIBA_LED_OFF
Definition:
ToshibaLED.cpp:25
Generated on Sun Jun 17 2018 14:18:50 for APM:Libraries by
1.8.13