Microcontroller input method, c source code
no vote
IME source code written in pure c language, mainly used in monolithic, there is need to download!
Instructions for use:
Pinyin Yao polling function: unsigned char code * py_ime (unsigned char input_py_val[]);
Input_py_val pointer to the phonetic code string as input, and
Return value is the start address in Chinese, when at 0 o'clock, Yao failed
Example of application:
{
unsigned char input_string[]={"bang"};
unsigned char chines_string[100];
sprintf(chines_string,"