Last change
on this file since 457 was 457, checked in by coas-nagasima, 4 years ago |
ファイルを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
599 bytes
|
Line | |
---|
1 | // https://github.com/ms-iotkithol-jp/IoTKitHoLV3/blob/master/PinKitIoTHubApp/PinKitIoTHubApp/PinKit/BoardFullColorLED.cs
|
---|
2 |
|
---|
3 | #include <stdint.h>
|
---|
4 | #include <stdbool.h>
|
---|
5 |
|
---|
6 | #ifndef _BOARD_FULL_COLOR_LED_H_
|
---|
7 | #define _BOARD_FULL_COLOR_LED_H_
|
---|
8 |
|
---|
9 | typedef enum Colors
|
---|
10 | {
|
---|
11 | Colors_Black = 0,
|
---|
12 | Colors_Red = 1,
|
---|
13 | Colors_Green = 2,
|
---|
14 | Colors_Yellow = 3,
|
---|
15 | Colors_Blue = 4,
|
---|
16 | Colors_Magenta = 5,
|
---|
17 | Colors_Cyan = 6,
|
---|
18 | Colors_White = 7
|
---|
19 | } Colors;
|
---|
20 |
|
---|
21 | void BoardFullColorLED_Init();
|
---|
22 | void BoardFullColorLED_SetRgb(bool redOn, bool greenOn, bool blueOn);
|
---|
23 | void BoardFullColorLED_SetColor(Colors color);
|
---|
24 |
|
---|
25 | #endif // _BOARD_FULL_COLOR_LED_H_
|
---|
Note:
See
TracBrowser
for help on using the repository browser.