• 学习单片机的八大步骤之第三步:中断

    第三步:中断单片机的特点是一段程序反复执行,程序中的每个指令的执行都需要一定的执行时间,如果程序没有执行到某指令,则该指令的动作就不会发生,这样就会耽误很多快速发生的事情,例如,按钮按下时的下降沿。要使单片机在程序正常运行过程中,对快速动作做出反应,就必须使用单片机的中断功能,该功能就是在快速动作发生后,单片机中断正常运行的程序,处理快速发生的动作,处理完成后,在返回执行正常的程序。中断功能使用中

    2019/09/06 hongling

  • 学习单片机的八大步骤之第二步:定时器的使用

    第二步:定时器的使用学会定时器的使用,就可以用单片机实现时序电路,时序电路的功能是强大的,在工业、家用电气设备的控制中有很多应用,例如,可以用单片机实现一个具有一个按钮的楼道灯开关,该开关在按钮按下一次后,灯亮3分钟后自动灭,当按钮连续按下两次后,灯常亮不灭,当按钮按下时间超过2s,则灯灭。数字集成电路可以实现时序电路,可编程逻辑器件(PLD)可以实现时序电路,可编程控制器(PLC)也可以实现时序

    2019/09/06 hongling

  • 学习单片机的八大步骤之第一步:数字I/O的使用

    第一步:数字I/O的使用使用按钮输入信号,发光二极管显示输出电平,就可以学习引脚的数字I/O功能,在按下某个按钮后,某发光二极管发亮,这就是数字电路中组合逻辑的功能,虽然很简单,但是可以学习一般的单片机编程思想,例如,必须设置很多寄存器对引脚进行初始化处理,才能使引脚具备有数字输入和输出输出功能。每使用单片机的一个功能,就要对控制该功能的寄存器进行设置,这就是单片机编程的特点,千万不要怕麻烦,所有

    2019/09/06 hongling

  • 电路板维修技巧线路板维修四大检测方法!

    1.观察检测一块待修的电路板检测时,首先我们要目测对外观进行检查,确保在通电时不会造成二次损坏。如果一般外部出现问题时,我们可以直接看到电路板所出现的问题并进行处理。 人为原因电路板板角,芯片是否摔坏变形;带插座芯片方向是否正确;芯片插座是否被强制撬坏;带短接端子电路板是否插错。烧毁原因电阻、电容、二极管是否有烧糊情况;集成电路是否有鼓包、裂口、烧糊、发黑情况;电路板走线是否起皮、烧糊;沉铜孔是否

    2019/09/02 hongling

  • Parallels Coming to the 2014 Macworld Expo

    Since its founding in 1985, the Macworld Expo has become the most influential Apple ecosphere in the world. The exposition, with the theme of "defining the future with innovation", will be o

    2018/01/12

  • HP's HP R & D enterprise was finally stranded by Apple

    Beijing time on August 14th, according to foreign media MacRumors reports, people familiar with the matter said that apple and IBM jointly marched into the corporate market, so that competitors felt a

    2018/01/12

  • Artificial intelligence robot with emotional air strikes

    Recently, Xi Jinping in the "review", a variety of artificial intelligence robot, the development of intelligent Gowild technology companies in the world's first social emotional robot &

    2018/01/12

  • Oculus set up a VR team in London

    Since the acquisition of Oculus for $2 billion in 2014, Facebook, a social platform giant, has been in the forefront of the development of VR. With the development of the market, VR in the United Stat

    2018/01/12

Previous page123Next page Go to No.