• 大小: 42.82MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-06-28
  • 语言: C/C++
  • 标签: 串口通信  

资源简介

串口通信,其中包含计算机与51单片机之间串口通信,计算机之间,计算机与射频模块,计算机与GPS模块等。

资源截图

代码片段和文件信息

int GradeTran(int old_grade)
{
int new_grade;
switch(old_grade/10) //switch选择语句
{
case 10:
case 9: new_grade=5; break;
case 8: new_grade=4; break;
case 7: new_grade=3; break;
case 6: new_grade=2; break;
default: new_grade=1;
}
}

#include 

void main()
{
int grade[10]={100 85 72 69 94 74 66 51 89 45};
int i;
for(i=0;i<10;i++) // for循环语句
cout<<“百分制成绩:“<}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ......R       493  2009-11-19 00:16  02\2-1GradeTrans.cpp

    ......R       392  2009-11-19 00:17  02\2-2func.cpp

    ......R       359  2009-11-19 00:18  02\2-5 pointer.cpp

    ......R       753  2009-11-19 00:19  02\2-9Polyphorhism.cpp

    ......R      1532  2009-11-19 00:22  02\Ex1_1\ChildFrm.cpp

    ......R      1397  2009-11-19 00:22  02\Ex1_1\ChildFrm.h

    ......R      2733  2009-11-19 00:22  02\Ex1_1\Ex1_1.clw

    ......R      4371  2009-11-19 00:22  02\Ex1_1\Ex1_1.cpp

    ......R      4662  2009-11-19 00:22  02\Ex1_1\Ex1_1.dsp

    ......R       535  2009-11-19 00:22  02\Ex1_1\Ex1_1.dsw

    ......R      1345  2009-11-19 00:22  02\Ex1_1\Ex1_1.h

    ......R     50176  2009-11-19 00:22  02\Ex1_1\Ex1_1.ncb

    ......R     48640  2009-11-19 00:22  02\Ex1_1\Ex1_1.opt

    ......R      2353  2009-11-19 00:22  02\Ex1_1\Ex1_1.plg

    ......R     11934  2009-11-19 00:22  02\Ex1_1\Ex1_1.rc

    ......R      1722  2009-11-19 00:22  02\Ex1_1\Ex1_1Doc.cpp

    ......R      1464  2009-11-19 00:22  02\Ex1_1\Ex1_1Doc.h

    ......R      2549  2009-11-19 00:22  02\Ex1_1\Ex1_1View.cpp

    ......R      1875  2009-11-19 00:22  02\Ex1_1\Ex1_1View.h

    ......R      2522  2009-11-19 00:22  02\Ex1_1\MainFrm.cpp

    ......R      1542  2009-11-19 00:22  02\Ex1_1\MainFrm.h

    ......R      4739  2009-11-19 00:22  02\Ex1_1\ReadMe.txt

    ......R       492  2009-11-19 00:22  02\Ex1_1\Resource.h

    ......R       207  2009-11-19 00:22  02\Ex1_1\StdAfx.cpp

    ......R      1054  2009-11-19 00:22  02\Ex1_1\StdAfx.h

    ......R      1078  2009-11-19 00:22  02\Ex1_1\res\Ex1_1.ico

    ......R       397  2009-11-19 00:22  02\Ex1_1\res\Ex1_1.rc2

    ......R      1078  2009-11-19 00:22  02\Ex1_1\res\Ex1_1Doc.ico

    ......R      1078  2009-11-19 00:22  02\Ex1_1\res\Toolbar.bmp

    ......R    180293  2010-01-11 10:56  02\example2-1\Debug\example2-1.exe

............此处省略804个文件信息

评论

共有 条评论