1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00
Arduino/hardware/arduino/avr/libraries/Robot_Control/utility/VirtualKeyboard.h
Cristian Maglie 3394f61276 Merged 1.0.5
2013-05-29 18:30:36 +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