the C-like I/O console is finished for a start. (link see above!)
digits
0...9
letters
A...Z
symbols (updated, by keypresses *#6...*#9)
+ - . :
after the print issue has been fixed you may use the following key presses:
// digit + optionally * or # or #*
// long press * =>
Backspace
// long press # =>
Space (Blank)
// long press *# =>
Enter (end of input)
in the example code (link) the console input is copied to a string;
after long press of *# (Enter) the input is terminated and the input string is shown again in a seperate line for control (fw-based possibly cut off)
Code: Select all
// featuring C-like functions from <stdio.h>, <conio.h> :
//=======================================================
// int getch() // reads key from numpad, no echo on screen
// string gets(string) // reads string from numpad + echo on screen
// char (bool) kbdhit() // tests if key hit on numpad, no return, no echo
// char cin (no pipelining) // reads single key from numpad, no echo on screen
// printf (fmtstring, variant) // displays formatted char, string, int, float
share and enjoy!