-
51单片机的_中文拼音输入法_c源程序 拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_p...
51单片机的_中文拼音输入法_c源程序 拼音输入法杳询函数: unsigned char code * py_ime(unsigned char input_py_val[])
input_py_val为已输入的拼音码字符串头指针,
反回值为中文的起始地址,当为0时,杳询失败
应用举例:
{
unsigned char input_string[]={"bang"}
unsigned char chines_string[100]
sprintf(chines_string,"%s",py_ime(input_string))
}-51 Singlechip _ Chinese Pinyin input method _c source disappeared consultation Pinyin input method function: unsigned char code* py_ime (unsigned char input_py_val []) input_py_val for Pinyin input first code string pointer, and anti-back value of Chinese starting address, as 0:00, dark and quiet consultation, for example the failure of the application: (unsigned char input_string []={ bang ) unsigned char chines_string [100] sprintf (chines_string, s , py_ime (input_string)))
- 2023-08-24 05:00:03下载
- 积分:1
-
MCS
MCS-51单片机有5个中断源,其中两个是由-INT0、-INT1引脚输入的外部中断源;另外三个是内部中断源即由T0、T1的溢出引起中断和串行口发送完一个字节或接收到一个字节数据引起中断。触发外部中断有两种方式,即下降沿引起中断或低电平引起中断。当编程TCON中的ITi(i=0、1)为1时,则引起触发的方式为边沿触发方式,反之(ITi=0)为低电平触发方式。每个中断源的中断请求能否得到响应要受两级“开关”的控制,即一个总“开关”-MCS-51 single-chip has five interrupt sources, two of which are by-INT0,-INT1 pin input external interrupt source the other three internal interrupt sources from the T0, T1 overflow caused by the disruption and serial port sending or receiving end of a byte to a byte of data caused by interruption. Triggered external interrupt has two modes, namely, falling edge or low-level disruption caused disruption caused. When programming TCON in ITi (i = 0,1) for the 1:00 has been the subject of a way to trigger the way to the edge of the trigger, on the contrary (ITi = 0) for low-level trigger mode. Each interrupt source interrupt request can be subject to levels in response to
- 2023-07-06 00:00:03下载
- 积分:1
-
实验dp_51pro图形液晶显示实验。在一个随机的第一…
DP_51PRO实验仪图形液晶显示实验。先在屏幕上的随机位置显示随机数字(0--9),
* 然后调用画直线函数以屏幕中心为中点画对称的直线,最后显示一个简单的窗口。-Experiment DP_51PRO graphics liquid crystal display experiment. First in a random location on the screen shows random number (0 9),* then calls the function to draw a straight line in the screen center line stipple symmetry, and finally shows a simple window.
- 2022-01-26 15:58:14下载
- 积分:1
-
液晶模块FYD12864
液晶模块FYD12864-0402B使用手册.-LCD Module FYD12864-0402B User
- 2022-03-11 17:40:56下载
- 积分:1
-
* Hardware architecture: PA0
* 硬件结构: PA0-5对应6个LED数显管的位 ,PC0-7对应各LED数显管的段 ,PB4-7为键盘。
* 软件描述: 上电后,时钟从00.00.00(时/分/秒)自动走时,在走时状态时 , 按PB4(设定
* 键)超过3秒可循环选择调整时间/工作参数 ,接着按PB5以确定选择的操作 ,进入调整操作后 ,
* 按PB5选择欲调整参数,按PB6(增加键)完成调整参数操作 。按PB7,进入时控运行,PB1亮,
* 再按PB7停止时控运行,回显走时。在定时到时,PB0点亮。- * Hardware architecture: PA0-5 corresponds 6 LED numbers to reveal the tube the position, PC0-7 corresponds each LED number to reveal the tube the section, PB4-7 is a keyboard.
* Software description: After on electricity, clock from 00.00.00 (when/a minute/second) is in luck automatically, when is in luck the condition, according to PB4 (hypothesis
* The key) surpasses for 3 seconds to be possible to circulate the choice time/operational parameter, then presses PB5 by to determine the choice the operation, after enters the adjustment operation
* Wants according to the PB5 choice to adjust the parameter, (increases key) according to PB6 to complete the adjustment parameter operation.According to PB7, enters when controls the mov
- 2022-04-16 19:29:12下载
- 积分:1
-
一个320*240的液晶的C51驱动,程序不光可以用在51单片机上,还可以应用在其他单片机上,已成功移植到MSP430,移植时只需要重新改下引脚定义...
一个320*240的液晶的C51驱动,程序不光可以用在51单片机上,还可以应用在其他单片机上,已成功移植到MSP430,移植时只需要重新改下引脚定义-A 320* 240 LCD drive the C51, the program not only can be used in single-chip microcomputer 51, but also can be applied to other single-chip, this has been successfully transplanted into MSP430, transplantation need to change only the definition of under-pin
- 2022-02-16 00:58:34下载
- 积分:1
-
使用的是arm单片机LPC2210,进行AD 转换,使用ADC模块进行电压测量,有多个程序模块...
使用的是arm单片机LPC2210,进行AD 转换,使用ADC模块进行电压测量,有多个程序模块-use of the arm LPC2210 MCU for AD conversion, ADC module for use voltage measurement, there are a number of program modules
- 2023-02-13 05:20:03下载
- 积分:1
-
32位arm9微处理器S3C2410的dma测试源代码
32位arm9微处理器S3C2410的dma测试源代码
- 2022-01-26 19:48:07下载
- 积分:1
-
MP3 spi Master例子程序
MP3 spi Master例子程序-MP3 spi Master example procedure
- 2022-02-13 02:23:00下载
- 积分:1
-
luminary系列单片机基础源码模板,大家可以直接试用
luminary系列单片机基础源码模板,大家可以直接试用-luminary Series MCU-based source code template, you can try
- 2022-05-21 09:00:21下载
- 积分:1