登录
首页 » SCM » AVR for Watchdog!

AVR for Watchdog!

于 2023-05-05 发布 文件大小:2.48 kB
0 140
下载积分: 2 下载次数: 1

代码说明:

实验名称:看门狗实验 功能描述:使能系统看门狗。 如果将PA0连接到LED上观察到实验现象为LED灯闪烁。 如果连接到SPK上将会听到SPK间歇性鸣叫。 如果将watchdog_init() 注释掉或者将WDT_off() 前面的注释去掉则将看门狗禁止 此时连接到LED上观察到的现象为LED常亮 实验目的:熟悉看门狗的操作 实验说明:MCU--M16 外部7.3728M晶振 -AVR for Watchdog!

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

发表评论

0 个回复

  • STC keilC chip select can be seen in the STC will not need to include
    keilC芯片选择可以看出STC中不需要包含
    2022-05-26 13:46:45下载
    积分:1
  • 利用单片机加控制直流电机,利用P1口,编制程序输出一串脉冲,经放大后驱动小电机,改变输出脉冲的电平及持续时间,达到使电机正转、反转、加速、减速。停转之目的。...
    利用单片机加控制直流电机,利用P1口,编制程序输出一串脉冲,经放大后驱动小电机,改变输出脉冲的电平及持续时间,达到使电机正转、反转、加速、减速。停转之目的。 可以通过74LS244输入开关量数据来控制小直流电机的转动,实现正转四种转速,反转四种转速及停转。 -The use of SCM in controlling the DC motor
    2022-03-04 03:51:35下载
    积分:1
  • 设计程序使一个LED发光管以0.6秒为周期闪烁,即发光管每0.3秒点亮或熄灭一次。 分析题目要求,主要涉及两方面的操作,即控制LED发光管的亮灭以及定时0....
    设计程序使一个LED发光管以0.6秒为周期闪烁,即发光管每0.3秒点亮或熄灭一次。 分析题目要求,主要涉及两方面的操作,即控制LED发光管的亮灭以及定时0.3秒。对于LED发光管,只用一个IO就可以控制了(例如使用IOA0);而对于0.3秒定时,我们可以利用TimerA定时器轻易地实现。-The design process of a LED to LED blinking 0.6 seconds for the cycle, that is, every 0.3 seconds LED lit or extinguished once. Analysis of the subject requirements, mainly related to two aspects of the operation, that is, control LED LED light out as well as the timing of 0.3 seconds. The LED light-emitting tube, only one can control the IO (such as the use of IOA0) and for 0.3 seconds from time to time, we can use to easily achieve TimerA timer.
    2022-03-16 15:40:25下载
    积分:1
  • TW8817PCB 模拟TFT屏驱动,已通过调试
    TW8817PCB 模拟TFT屏驱动,已通过调试-lcd TFT
    2023-04-18 08:45:03下载
    积分:1
  • 这是一个软件串口的源代码 单片机为em78p458,已经测试成功
    这是一个软件串口的源代码 单片机为em78p458,已经测试成功-This a serial software source code for the MCU em78p458, has been tested successfully
    2022-08-16 09:32:09下载
    积分:1
  • 用单片机制作的电话遥控装置.用于控制家用电器
    用单片机制作的电话遥控装置.用于控制家用电器-MCU production of telephone remote control devices. Used to control household appliances
    2023-01-17 20:00:04下载
    积分:1
  • 模拟串口实现代码, Baud: 9600Bps , Format: 1,8,1,无校验位, MCU:M88 , CRYSTAL:3.6864...
    模拟串口实现代码, Baud: 9600Bps , Format: 1,8,1,无校验位, MCU:M88 , CRYSTAL:3.6864M , ICC AVR6.31A , 占用定时器T0(工作在查询方式) ,在项目中使用,收发一切正常.-Simulation of serial code, Baud: 9600Bps, Format: 1,8,1, no parity bit, MCU: M88, CRYSTAL: 3.6864M, ICC AVR6.31A, occupation timer T0 (in query mode), in the project use, send and receive all normal.
    2023-03-18 23:30:03下载
    积分:1
  • 用中断的方式控制lcd的显示,单片机仍然是h83664十六位单片机。此程序包含单片机的接口的配置以及各种写lcd的子程,使用中断来控制lcd顺序显示A-Z,当然...
    用中断的方式控制lcd的显示,单片机仍然是h83664十六位单片机。此程序包含单片机的接口的配置以及各种写lcd的子程,使用中断来控制lcd顺序显示A-Z,当然,可以换成其他的显示内容,由于接口程序已经编好,只需要把要显示的内容改一下就可以实现其他内容的显示-With interruption control lcd display, single-chip is still 16 Singlechip h83664. This procedure includes the configuration of single-chip interface and a variety of writing a sub-lcd-way, the use of interrupt to control the order in lcd display A-Z, of course, can be replaced by other display content, as a result of interface procedures have been developed only to To display the contents of change can be achieved about the display of other content
    2023-06-21 14:35:03下载
    积分:1
  • This experimental report on the multi
    这篇实验报告是关于单片机多路数据采集的,本实验由2大部分组成:1、为用EPOROM构成的心电信号发生器;2、为多路信号的微机采集与显示;第一部分实验主要研究可编程序存储器EPROM的非计算机应用。把存储在EPROM中的数字心电信号读出并通过D/A转换为模拟信号显示在示波器屏幕上。 第二部分实验的目的是研究一个数据采集系统,该系统利用ECD-51型单片机为中心,由D/A芯片等将各种低频信号以及由EPROM产生的模拟人体心电信号变换成离散的数字信号存入微机内存,以待进行数据处理和分析,然后再通过D/A转换将其还原成模拟信号显示在示波器的屏幕上。 -This experimental report on the multi-SCM data acquisition, the experiment by the two major components : 1. EPOROM pose for the use of the ECG signal generator; 2, multi-path signals in the computer acquisition and display; the first major study of experimental programmable EPROM memory in non-computer applications. Stored in the EPROM of ECG read out by D/A conversion of analog signals displayed on the oscilloscope screen on. Part II The purpose of this experiment is to study a data acquisition system, which uses ECD-51 microprocessor as the center, from the D/A chips, and other various low-frequency signal from EPROM and the simulation of human ECG transform into several discrete signal words into computer mem
    2022-02-02 04:12:54下载
    积分:1
  • 51 MCU
    基于51单片机的发声程序,初学者简单应用-51 MCU-based voice process, beginners a simple application
    2022-03-21 03:43:12下载
    积分:1
  • 696516资源总数
  • 106463会员总数
  • 0今日下载