Arduino  1.8.10
VirtualKeyboard.h
[詳解]
1 #ifndef VIRTUAL_KEYBOARD_H
2 #define VIRTUAL_KEYBOARD_H
3 
4 #include <Arduino.h>
5 #include <ArduinoRobot.h>
6 
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
#define WHITE
Definition: ArduinoRobot.h:155
VirtualKeyboard Vkey
void display(uint8_t top, uint16_t showColor=BLACK, uint16_t hideColor=WHITE)
#define BLACK
Definition: ArduinoRobot.h:148