登录
首页 » c » 单片机继电器

单片机继电器

于 2022-08-09 发布 文件大小:69.66 MB
0 76
下载积分: 2 下载次数: 1

代码说明:

/******************************************************************/ /*      继电器实验      * /*              * /*  连接方法:P2.7接JP5的K1(按钮接口)                  P1.4接J2                  * /* 按下P2.7 继电器P1.4动作            * /******************************************************************/ #include   //51的端口和各特殊寄存器定义在此文件中 sbit RELAY = P1^4;    //定义继电器对应单片机管脚 sbit K1    = P2^7;    //定义按钮对应单片机管脚 /********************************************************* 主函数 * **********************************************************/ main() {   if (!K1) RELAY = 0;

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

发表评论

0 个回复

  • weixin_Protocol
    web版微信协议分析。当前分析到登陆部分。举一反三,后续的拉取好友列表和发送消息等协议都好分析出来了。作者:孙强壮。(The web version of the micro-channel protocol analysis. Current analysis to the landing part. Giving top priority to, the subsequent pull friends list and send messages agreements out a good analysis.)
    2012-09-11 23:46:01下载
    积分:1
  • FSL VideoFilter
    Rohde&Schvarz FSL VideoFilter
    2020-06-22 10:20:02下载
    积分:1
  • Csharp winform抽奖程序 源码下载
    Csharp winform抽奖程序 源码下载
    2015-02-27下载
    积分:1
  • Unity插件:PDF Renderer v5.15
    【实例简介】     unity读取PDF文件的插件,有需要的话超级好用
    2021-07-03 00:31:10下载
    积分:1
  • q
    说明:  实现基2时域频域抽取fft算法,可输出运算后所得复序列的模值序列,并可记录显示计算所用时间(Achieve base 2 fft algorithm frequency domain extraction can be obtained after computing the output sequence of modulus of complex sequences can be used in the calculation time, records show)
    2010-05-29 10:45:27下载
    积分:1
  • TCP--duoxiancheng
    基于TCp的网络编程,一个服务器对多个客户端,用用的是多线程方法(Based on the TCp network programming, a server to multiple clients, use is a multi thread method)
    2015-03-26 18:03:29下载
    积分:1
  • DogApp
    说明:  超级狗的开发demo,c++,通过了本地测试可以直接编译(Development of super dog demo, C++)
    2021-01-21 08:58:46下载
    积分:1
  • 字符串处理函数集
    适用于字符串处理:16进制同字符转互转,字符转大小写转换,2进制转为字符串等API
    2022-08-16 15:48:07下载
    积分:1
  • ItoPRE
    将中缀表达式转化为后缀表达式、并计算结果(The infix expressions into postfix expression, and the results)
    2014-04-22 21:07:15下载
    积分:1
  • bsas
    MATLAB BSAS implementation
    2010-04-08 04:22:17下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载