红绿灯C语言程序(P0口接数码管平口接发光二极管)include<>define?uchar?unsigned??chardefine?uint?unsigned?intuchar?i=0c=0s=1m_flag=1void?dxlv1_nbh1(void)?{P1=0x5a }void?dx0_nbh1(void) ???{P1=0x0a }void?dxh1_nbl1(void) {P1
用C语言实现红绿灯源程序如下:include <>bit redgreenyellowturnred????????? 定义红黄绿及转红标志code unsigned char tab[]=??? {0x3f0x060x5b0x4f0x660x6d0x7d0x070x7f0x6f} ??? 共阴数码管 0-9unsigned char Dis_Shiwei定义十位unsigned char Dis
51单片机用C语言实现交通灯(红绿灯)源程序2009-10-29 23:00交通灯红黄绿灯交替亮怎样实现呢其实就是根据单片机定时器及倒计时的程序修改源程序如下:1程序目的:使用定时器学习 倒计时 红绿灯原理 主要程序和倒计时一样2硬件要求:数码管晶振12Minclude <>bit redgreenyellowturnred????????? 定义红黄绿及转红标志code unsigned cha
51单片机用C语言实现交通灯(红绿灯)源程序2009-10-29 23:00交通灯红黄绿灯交替亮怎样实现呢其实就是根据单片机定时器及倒计时的程序修改源程序如下:1程序目的:使用定时器学习 倒计时 红绿灯原理 主要程序和倒计时一样2硬件要求:数码管晶振12Minclude <>bit redgreenyellowturnred????????? 定义红黄绿及转红标志code unsigned cha
VB红绿灯演示Private Submand1_Click()While (1)Shape1.FillColor = RGB(255 0 0)Shape2.FillColor = RGB(0 0 0)Shape3.FillColor = RGB(0 0 0)Shape4.FillColor = RGB(0 0 0)Shape5
uVision2 Project (C) Keil Software Do not modify cExt (.c) aExt (.s .src .a) oExt (.obj) lExt (.lib) tExt (.txt .h .inc) pExt (.plm) CppX (.cpp) DaveTm { 00000000 }Target (Target 1) 0x0000 Tools
圣诞灯程序c 语言.txt51自信是永不枯竭的源泉自信是奔腾不息的波涛自信是急流奋进的渠道自信是真正的成功之母include <> 调用头文件可以去PICC软件下去查找PIC16F87XA单片机的头文件__CONFIG(XTWDTENLVPDIS) 定义配置字晶振类型:XT启动开门狗禁止低电压编程__CONFIG(WDTDISXTUNPROTECT) define hc138_a
l content ?? l content 智能小车红外避障c语言程序 include <>bit RandomFactor = 0 bit RandomFactorBuf = 0 include <>define FLeftMotor P0_2 = 1 P0_3 = 0 define BLeftMotor P0_2 = 0 P0_3 = 1define FRightMo
2010-06-08 17:18include<>define uchar unsigned charuchar seg[]={0x3f0x060x5b0x4f0x660x6d0x7d0x070x7f0x6f}显示0-9段码uchar counttimestatetfbit f=0sbit reset=P34延时函数void delay(uchar k) {??? uchar ij?????
智能小车红外避障
违法有害信息,请在下方选择原因提交举报