3439| 2
|
关于EMWIN显示汉字 |
10金钱
最佳答案extern WM_HWIN Window_HItem;
char i[3]={0,0,'\0'};
void USART1_IRQHandler(void)
{
u8 Res;
static u8 num=0;
#if SYSTEM_SUPPORT_UCOS
OSIntEnter();
#endif
if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET)
{
Res =USART_ReceiveData(USART1);//(USART1->DR);
i[num++]=Res;
if(num==2)
{ TEXT_SetTextColor(WM_GetDialogItem(Window_HItem,ID_ ...
| ||
| ||
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-22 15:21
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网