Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Keyboard_Ts.h
- Committer:
- Dom952
- Date:
- 2016-04-23
- Revision:
- 0:8e2c3c55da79
File content as of revision 0:8e2c3c55da79:
#ifndef KEYBOARD_TS_H
#define KEYBOARD_TS_H
#include "TS_DISCO_F429ZI.h"
enum KeyboardTsState { RELASED , BUTTON_0 , BUTTON_1 , BUTTON_2 , BUTTON_3 };
class KeyboardTs{
public:
KeyboardTs (unsigned char);
enum KeyboardTsState eRead (void);
private:
unsigned char Column;
uint16_t x, y;
TS_DISCO_F429ZI ts;
TS_StateTypeDef TS_State;
};
#endif