文件名称:led_analog_traffic_light
-
所属分类:
- 标签属性:
- 上传时间:2013-04-22
-
文件大小:2.16kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
/**
*本程序目的为控制LED灯模拟红绿灯
* 具体:Edkit-8试验箱中可以介入4个LED灯,但我们只用其中的3只
* 规定第1只表示红灯,每次亮20秒
* 规定第2只表示黄灯,每次亮5秒
* 规定第3只表示绿灯,每次亮20秒
*开始时红灯先亮,然后黄灯、绿灯依次亮。循环反复
*每次灯切换时会有3秒的闪烁时间
*
*
*gcc -o led_analog_traffic_light led_analog_traffic_light.c
*
*/-/*** The purpose of this program for control LED light simulation traffic lights* specific: Edkit-8 chamber can be involved in the four LED lights, but we only use 3* The requirement for a red light, each light 20 seconds* The requirement for two yellow* The requirement for the first three said green 20 seconds each bright red at the beginning of the first light, then turn bright yellow, green on for five seconds each time. Cycle repeated* every light switch there will be a 3-second flashing time*** gcc-o led_analog_traffic_light led_analog_traffic_light.c** /
*本程序目的为控制LED灯模拟红绿灯
* 具体:Edkit-8试验箱中可以介入4个LED灯,但我们只用其中的3只
* 规定第1只表示红灯,每次亮20秒
* 规定第2只表示黄灯,每次亮5秒
* 规定第3只表示绿灯,每次亮20秒
*开始时红灯先亮,然后黄灯、绿灯依次亮。循环反复
*每次灯切换时会有3秒的闪烁时间
*
*
*gcc -o led_analog_traffic_light led_analog_traffic_light.c
*
*/-/*** The purpose of this program for control LED light simulation traffic lights* specific: Edkit-8 chamber can be involved in the four LED lights, but we only use 3* The requirement for a red light, each light 20 seconds* The requirement for two yellow* The requirement for the first three said green 20 seconds each bright red at the beginning of the first light, then turn bright yellow, green on for five seconds each time. Cycle repeated* every light switch there will be a 3-second flashing time*** gcc-o led_analog_traffic_light led_analog_traffic_light.c** /
(系统自动生成,下载前可以参看下载内容)
下载文件列表
led_analog_traffic_light.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.