Last change
on this file since 194 was 136, checked in by ertl-honda, 9 years ago |
ライブラリとOS及びベーシックなサンプルの追加.
|
File size:
447 bytes
|
Line | |
---|
1 | #ifndef VIRTUAL_KEYBOARD_H
|
---|
2 | #define VIRTUAL_KEYBOARD_H
|
---|
3 |
|
---|
4 | #include <Arduino.h>
|
---|
5 | #include <ArduinoRobot.h>
|
---|
6 |
|
---|
7 | class VirtualKeyboard{
|
---|
8 | public:
|
---|
9 | //void begin();
|
---|
10 | void display(uint8_t top, uint16_t showColor=BLACK, uint16_t hideColor=WHITE);
|
---|
11 | void hide();
|
---|
12 |
|
---|
13 | char getSelection();
|
---|
14 | void run();
|
---|
15 |
|
---|
16 | private:
|
---|
17 | uint8_t top;
|
---|
18 | bool onOff;
|
---|
19 |
|
---|
20 | uint16_t showColor;
|
---|
21 | uint16_t hideColor;
|
---|
22 |
|
---|
23 | int getColLin(int val);
|
---|
24 |
|
---|
25 | };
|
---|
26 |
|
---|
27 | extern VirtualKeyboard Vkey;
|
---|
28 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.