2021-11-06 15:10:52 索煒達(dá)電子 1306
項(xiàng)目編號(hào):E2172
文件大小:7M
源碼說明:帶中文注釋
開發(fā)環(huán)境:C編譯器
簡要概述:
設(shè)計(jì)思路
本實(shí)驗(yàn)采用stm32f103r6為主控芯片,及l(fā)ed-red、led-yellow、led-green;時(shí)鐘源為晶振為8M的系統(tǒng)內(nèi)部時(shí)鐘;
實(shí)現(xiàn)效果
綠燈先亮4秒,再一秒為快閃(亮暗各0.1秒,閃爍5次),然后黃燈亮2秒,綠燈黃燈亮閃期間,對(duì)方紅燈保持亮狀態(tài)(共7秒)然后對(duì)方綠燈黃燈重復(fù)上述過程,交替不斷。
環(huán)境
操作系統(tǒng): Window10 專業(yè)版
使用軟件:Keil uVision5、Proteus 8
開發(fā)語言:C語言
目錄│文件列表:
└ 交通燈
└ prj1
│ Project 1.pdsprj
└ prj1
│ .mxproject
│ prj1.ioc
├ Drivers
│ ├ CMSIS
│ │ ├ Device
│ │ │ └ ST
│ │ │ └ STM32F1xx
│ │ │ ├ Include
│ │ │ │ │ stm32f100xb.h
│ │ │ │ │ stm32f100xe.h
│ │ │ │ │ stm32f101x6.h
│ │ │ │ │ stm32f101xb.h
│ │ │ │ │ stm32f101xe.h
│ │ │ │ │ stm32f101xg.h
│ │ │ │ │ stm32f102x6.h
│ │ │ │ │ stm32f102xb.h
│ │ │ │ │ stm32f103x6.h
│ │ │ │ │ stm32f103xb.h
│ │ │ │ │ stm32f103xe.h
│ │ │ │ │ stm32f103xg.h
│ │ │ │ │ stm32f105xc.h
│ │ │ │ │ stm32f107xc.h
│ │ │ │ │ stm32f1xx.h
│ │ │ │ └ system_stm32f1xx.h
│ │ │ └ Source
│ │ │ └ Templates
│ │ │ │ system_stm32f1xx.c
│ │ │ ├ arm
│ │ │ │ │ startup_stm32f100xb.s
│ │ │ │ │ startup_stm32f100xe.s
│ │ │ │ │ startup_stm32f101x6.s
│ │ │ │ │ startup_stm32f101xb.s
│ │ │ │ │ startup_stm32f101xe.s
│ │ │ │ │ startup_stm32f101xg.s
│ │ │ │ │ startup_stm32f102x6.s
│ │ │ │ │ startup_stm32f102xb.s
│ │ │ │ │ startup_stm32f103x6.s
│ │ │ │ │ startup_stm32f103xb.s
│ │ │ │ │ startup_stm32f103xe.s
│ │ │ │ │ startup_stm32f103xg.s
│ │ │ │ │ startup_stm32f105xc.s
│ │ │ │ └ startup_stm32f107xc.s
│ │ │ ├ gcc
│ │ │ │ │ startup_stm32f100xb.s
│ │ │ │ │ startup_stm32f100xe.s
│ │ │ │ │ startup_stm32f101x6.s
│ │ │ │ │ startup_stm32f101xb.s
│ │ │ │ │ startup_stm32f101xe.s
│ │ │ │ │ startup_stm32f101xg.s
│ │ │ │ │ startup_stm32f102x6.s
│ │ │ │ │ startup_stm32f102xb.s
│ │ │ │ │ startup_stm32f103x6.s
│ │ │ │ │ startup_stm32f103xb.s
│ │ │ │ │ startup_stm32f103xe.s
│ │ │ │ │ startup_stm32f103xg.s
│ │ │ │ │ startup_stm32f105xc.s
│ │ │ │ └ startup_stm32f107xc.s
│ │ │ └ iar
│ │ │ │ startup_stm32f100xb.s
│ │ │ │ startup_stm32f100xe.s
│ │ │ │ startup_stm32f101x6.s
│ │ │ │ startup_stm32f101xb.s
│ │ │ │ startup_stm32f101xe.s
│ │ │ │ startup_stm32f101xg.s
│ │ │ │ startup_stm32f102x6.s
│ │ │ │ startup_stm32f102xb.s
│ │ │ │ startup_stm32f103x6.s
│ │ │ │ startup_stm32f103xb.s
│ │ │ │ startup_stm32f103xe.s
│ │ │ │ startup_stm32f103xg.s
│ │ │ │ startup_stm32f105xc.s
│ │ │ │ startup_stm32f107xc.s
│ │ │ └ linker
│ │ │ │ stm32f100xb_flash.icf
│ │ │ │ stm32f100xb_sram.icf
│ │ │ │ stm32f100xe_flash.icf
│ │ │ │ stm32f100xe_sram.icf