-
前两天一个朋友要我写一个51例程,要求尽量把我会的东西都放到例程里,并且说了一句非常狠的话,要我把程序做成“看起来像是高手写的程序”,这话,我现在越想越不舒服。...
前两天一个朋友要我写一个51例程,要求尽量把我会的东西都放到例程里,并且说了一句非常狠的话,要我把程序做成“看起来像是高手写的程序”,这话,我现在越想越不舒服。
当然,既然答应了,也就写出来了,不敢在高手面前弄斧,就发给新手看看了。
51有两年没有用了,不过竟然汇编还能写出来,哈哈。我以前从来不用extern关键字,这里也用上了,当然了,保证学51的朋友看来不会后悔。
#注:用的不是汇编,只是嵌入汇编的功能用进去了,
功能:数码管显示,
按键,
不同的按键按下走马灯程序会改变方式,但是这部分有点BUG(功能和程序里注释有点不符合,已经花了两天时间了,不想花时间找了),
串口回发
文件名EXAM1。UV2, 和EXAM1。DSN(proteus)
-err
- 2023-08-08 22:10:03下载
- 积分:1
-
Delphi技术手册源码 Delphi技术手册源码
Delphi技术手册源码 Delphi技术手册源码-Delphi technical manuals technical manuals Delphi source code
- 2022-07-24 08:00:16下载
- 积分:1
-
详细讲解备份数据库源码。
详细讲解备份数据库源码。-detailed database on the backup source.
- 2022-07-25 04:26:54下载
- 积分:1
-
Visual C++ 实现数字化图像的分割_好文章和代码
Visual C++ 实现数字化图像的分割_好文章和代码-Visual C digital image segmentation _ excellent article and code
- 2022-02-03 20:48:43下载
- 积分:1
-
一个mp3播放器的源码
一个mp3播放器的源码-an mp3 player of the FO
- 2022-06-20 09:03:06下载
- 积分:1
-
erp decision with ahp
erp decision with ahp
- 2022-02-13 12:36:27下载
- 积分:1
-
Infrared remote control decoding of information good information, please downloa...
红外遥控的解码资料
不错的资料,欢迎下载-Infrared remote control decoding of information good information, please download the
- 2022-01-25 20:24:02下载
- 积分:1
-
如何关闭一个应用程序的所有窗口
如何关闭一个应用程序的所有窗口-how to shut off an application procedure in the window
- 2022-03-19 16:12:56下载
- 积分:1
-
定义一个车(vehicle)基类,有Run、Stop等成员函数,由此派生出自行车(bicycle)类、汽车(motorcar)类,从bicycle和motorc...
定义一个车(vehicle)基类,有Run、Stop等成员函数,由此派生出自行车(bicycle)类、汽车(motorcar)类,从bicycle和motorcar派生出摩托车(motorcycle)类,它们都有Run、Stop等成员函数。在main()函数中定义vehicle、bicycle、motorcar、motorcycle的对象,调用其Run()、Stop()函数,观察其执行情况。再分别用vehicle类型的指针来调用这几个对象的成员函数,看看能否成功;把Run、Stop定义为虚函数,再试试看。-The definition of a car (vehicle) base class, with Run, Stop and other member functions, thus derived a bike (bicycle), automobiles (motorcar) class, derived from the bicycle and motorcar motorcycle (motorcycle) class, they all Run , Stop and other member functions. In the main () function is defined in the vehicle, bicycle, motorcar, motorcycle object, call its Run (), Stop () function is to observe its implementation. Each with a pointer with the vehicle type to call the member functions of these objects to see if successful the Run, Stop is defined as virtual functions, try again.
- 2022-08-11 22:22:15下载
- 积分:1
-
windows环境的编程 一个文件
windows环境的编程 一个文件-windows environment of a programming document
- 2022-08-03 08:17:46下载
- 积分:1