mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
SPI library to the new format and moved Robot_Motor and Robot_Control libraries
This commit is contained in:
28
libraries/Robot_Control/utility/VirtualKeyboard.h
Normal file
28
libraries/Robot_Control/utility/VirtualKeyboard.h
Normal file
@ -0,0 +1,28 @@
|
||||
#ifndef VIRTUAL_KEYBOARD_H
|
||||
#define VIRTUAL_KEYBOARD_H
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <ArduinoRobot.h>
|
||||
|
||||
class VirtualKeyboard{
|
||||
public:
|
||||
//void begin();
|
||||
void display(uint8_t top, uint16_t showColor=BLACK, uint16_t hideColor=WHITE);
|
||||
void hide();
|
||||
|
||||
char getSelection();
|
||||
void run();
|
||||
|
||||
private:
|
||||
uint8_t top;
|
||||
bool onOff;
|
||||
|
||||
uint16_t showColor;
|
||||
uint16_t hideColor;
|
||||
|
||||
int getColLin(int val);
|
||||
|
||||
};
|
||||
|
||||
extern VirtualKeyboard Vkey;
|
||||
#endif
|
Reference in New Issue
Block a user