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.
Fork of F7_TSKeypad_MultiKey by
F7_TSKeyboard Class Reference
Class library for a TS Keyboard, then press enter and the values are stored and the keyboard disappears. More...
#include <F7_TSKeyboard.h>
Public Member Functions | |
| F7_TSKeyboard () | |
| Constructor. | |
| void | getkeys (char str[]) |
| Retrieves the keys selected as a string. | |
Detailed Description
Class library for a TS Keyboard, then press enter and the values are stored and the keyboard disappears.
Example:
*#include "mbed.h" *#include "F7_TSKeyboard.h" *F7_TSKeyboard keyboard; *LCD_DISCO_F746NG lcd; *uint8_t text1[30]; *char s[100]; *int main() *{ lcd.SetFont(&Font12); lcd.Clear(LCD_COLOR_BLUE); lcd.SetBackColor(LCD_COLOR_BLUE); lcd.SetTextColor(LCD_COLOR_WHITE); while(1) { keyboard.getkeys(s); sprintf((char*)text1, "%s", s); lcd.DisplayStringAt(0, LINE(3), (uint8_t *)&text1, LEFT_MODE); wait(1); } *}
Definition at line 65 of file F7_TSKeyboard.h.
Constructor & Destructor Documentation
| F7_TSKeyboard | ( | ) |
Constructor.
Definition at line 4 of file F7_TSKeyboard.cpp.
Member Function Documentation
| void getkeys | ( | char | str[] ) |
Retrieves the keys selected as a string.
- Parameters:
-
str[] - stores the keys selected in this array.
- Return values:
-
None.
Definition at line 400 of file F7_TSKeyboard.cpp.
Generated on Sat Jul 16 2022 09:02:56 by
1.7.2
