登录
首页 » c » 51继电器使用

51继电器使用

于 2022-12-25 发布 文件大小:10.82 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

51单片机继电器简单使用# include # define uchar unsigned char # define uint unsigned int sbit k1=P3^4; sbit k2=P3^5; sbit jdq=P2^1; sbit l1=P1^0; void delayms(uint x) //延时 {     uint i,j;     for(i=x;i>0;i--)         for(j=110;j>0;j--); } void main () {         jdq=0;              while(1)     {         if(k1==0)         {             delayms(10);             if(k1==0)             {                &nbs

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Thermometer
    这是一个远程温度计 MCU: AT89S52 温度传感器: DS18B20 晶振: 12MHz 使用串口连接,在PC端使用"超级终端"打开 设置如下: 波特率: 4800 数据位: 8 奇偶校验: 无 停止位: 1 数据流控制: 无 电路图见Thermometer-SCH.jpg 该程序的编写参照了Keil UV2自带的便子 见EXAMPLESMEASURE 使用终端交互方式 其实,这不仅是一个测漫器, 它的时钟也非常准确.(This is a remote thermometer MCU: AT89S52 Temperature sensor: DS18B20 crystal: 12MHz to use serial port connection, in the PC client to use super terminal Open settings are as follows: baud rate: 4800 data bits: 8 Parity: None Stop bits: 1 Data Flow Control: No schematics see Thermometer-SCH.jpg the program prepared by the light of the Keil UV2 own son will see the use of terminal interactively EXAMPLESMEASURE In fact, this is not only a measured man, and it is also very accurate clock.)
    2008-01-02 15:27:23下载
    积分:1
  • source-ok
    本程序对VC++开发中的一些基本的框架设置问题进行了简单的介绍,如实现窗口框架基本设置,高级控件的专业使用和其他类似的功能333。(procedures for the development of the VC some of the basic framework set up for a simple briefing, If the basic framework for achieving window installed, the High Controls professional use and other similar functions 333.)
    2007-04-09 16:44:02下载
    积分:1
  • planetrendering
    planet rendering program implementation
    2014-01-23 03:40:25下载
    积分:1
  • 3
    说明:  涂层物质中的电磁脉冲特性与雷达截面减缩,涂层物质中的电磁脉冲特性与雷达截面减缩(Radar Cross Section Reduction and Characteristic of Electromagnetic Pulse in Antiradar Coating M aterial )
    2010-08-11 16:34:09下载
    积分:1
  • 位置信息系统
    开发的位置管理系统,作为一个尝试
    2022-01-24 13:16:42下载
    积分:1
  • DataGridViewRichTextBox
    A datagridView has RichTextBox column
    2011-04-04 12:27:01下载
    积分:1
  • 04-Qt4-Database-Applications
    Qt4数据库应用-东软培训资料,对初学者很有用。这是第四部分。(Qt4 database applications- Neusoft training materials, useful for beginners. This is the fourth part.)
    2013-07-29 09:17:14下载
    积分:1
  • myExplorer
    用MFC编写的一个类似于资源管理器系统,可以查看当前电脑下的资源,以树的形式显示。(MFC prepared with a similar resource management system, you can view the resources under the current computer display in the form of a tree.)
    2014-01-19 22:24:16下载
    积分:1
  • adc
    说明:  此为ARM lpc2124上实现AD转换的代码,可直接拷贝到自己程序中使用(This is achieved ARM lpc2124 code AD conversion can be directly copied to its own procedures for the use of)
    2008-11-05 15:16:02下载
    积分:1
  • STM32L011K4-Nucleo
    是超级低功耗STM32L011库软件,包含各种sample运用;已经在STM32L011G3芯片实现带有各种功能,包含串口 rtc/rtc唤醒 带中断低功耗休眠等...(Is a super low power STM32L011 library software, including a variety of sample applications, has been implemented in the STM32L011G3 chip with a variety of functions, including serial port rtc/rtc wake-up interrupt low power sleep and so on...)
    2021-02-02 14:49:59下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载