【Proteus學(xué)習(xí)之路】序列之5:?jiǎn)螣糸W爍
本節(jié)我們主要是從下面3個(gè)方面進(jìn)行講解:
本文引用地址:http://www.butianyuan.cn/article/278044.htm1.硬件環(huán)境搭建
2.軟件編寫
3.聯(lián)調(diào)
一、硬件環(huán)境搭建
1.先打開Proteus8.1。如下圖所示:

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

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

4.把元器件布局好仿真界面上。如下圖所示:

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

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

2.編寫程序。如下圖所示:


三、聯(lián)調(diào)
1.先用keil生成hex文件。如下圖所示:

2.把hex文件加載到Proteus仿真的單片機(jī)中。如下圖所示:

3.最后點(diǎn)擊運(yùn)行,看看是否通過(guò)。如下圖所示:

實(shí)現(xiàn)結(jié)果是可以實(shí)現(xiàn)閃爍功能。O(∩_∩)O哈哈~
評(píng)論