1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-03 14:24:15 +01:00
Arduino/libraries/Robot_Control/utility/VirtualKeyboard.h
2013-05-15 10:47:17 +02:00

28 lines
447 B
C++

#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