【Proteus學(xué)習(xí)之路】序列之10:匯編—AT89C51與PC機串口通信
本節(jié)我們主要是從下面3個方面進行講解:
本文引用地址:http://www.ex-cimer.com/article/283454.htm1.硬件環(huán)境搭建
2.軟件編寫
3.聯(lián)調(diào)
一、硬件環(huán)境搭建
1.先打開Proteus8.1。如下圖所示:

2.打開Proteus仿真界面。如下圖所示:

3.找到所需要的電子元器件。如下圖所示:

4.按照自己的想法設(shè)計電路。如下圖所示:

二、軟件編寫
1.打開keil軟件,然后建立工程,如下圖所示:

2.程序部分。如下圖所示:

三、聯(lián)調(diào)
把hex文件假如到proteus中,然后是調(diào)試,看看效果。如下圖所示:



評論