登录
首页 » SCM » /// ////单端输入,定时启动,由T2定时,选择AIN0.3为ADC0转化通道//////////////// //////single.c//////...

/// ////单端输入,定时启动,由T2定时,选择AIN0.3为ADC0转化通道//////////////// //////single.c//////...

于 2022-12-01 发布 文件大小:2.67 kB
0 210
下载积分: 2 下载次数: 1

代码说明:

/// ////单端输入,定时启动,由T2定时,选择AIN0.3为ADC0转化通道//////////////// //////single.c/////////////////////////////////// #include "lcd.h"//笔者所写的LCD显示头文件,具体见LCD章节 /*若读者没有条件使用"lcd.h"的各显示和键盘函数,则可在lcd.h文件中如下定义:-/////// Single-ended input, time to start, by the T2 timer, select AIN0.3 for ADC0 conversion channel ////////////////////// single. c ///////////////////////////////////# include

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

发表评论

0 个回复

  • /* 程序详细功能介绍: *当按下按键P3.3 ,AT89S51单片机产生“叮咚”声从P3.2端口输出 *程序设计方法 * 1. 我们用单片...
    /* 程序详细功能介绍: *当按下按键P3.3 ,AT89S51单片机产生“叮咚”声从P3.2端口输出 *程序设计方法 * 1. 我们用单片机实定时/计数器T0来产生700HZ和500HZ的频率,根据定时/计数器T0,我们取定时250us, * 因此,700HZ的频率要经过3次250us的定时,而500HZ的频率要经过4次250us的定时。 * 2. 在设计过程,只有当按下SP1之后,才启动T0开始工作,当T0工作完毕,回到最初状态。 * 3. “叮”和“咚”声音各占用0.5秒,因此定时/计数器T0要完成0.5秒的定时,对于以250us为基准定时2000次才可以。 */-/* Procedure detailed functional Introduction:* When pressing the button P3.3, AT89S51 Singlechip a
    2023-01-12 02:35:03下载
    积分:1
  • 基于MSP430单片机的,GPRS源代码,已经调试成功。
    基于MSP430单片机的,GPRS源代码,已经调试成功。-MSP430 MCU-based, GPRS source code, debugging has been successful.
    2022-03-25 03:58:15下载
    积分:1
  • 本设计以P89V51RD2FN单片机为电动小车的控制核心,采用MSA
    本设计以P89V51RD2FN单片机为电动小车的控制核心,采用MSA-LD2.0倾角传感器实时测量跷跷板的倾斜角,用ST198光电传感器检测黑色引导线监测小车运动。光电传感器和倾角传感器模块把实时测量信号馈送至单片机,利用专用细分芯片TA8435H驱动步进电机,以脉宽调制式斩波方式对步进电机步进角进行细分,控制和调节小车速度。采用增量式PID控制算法确保小车能够达到平衡;用RT128×64M液晶显示时间、角度等参数。经测试表明:小车各项性能指标达到设计要求,能够实现30秒内小车行驶到规定点,并保持跷跷板平衡;在跷跷板一端配重可调整的情况下,小车也能自动找到平衡点并保持跷跷板平衡。-The single-chip design for the electric car P89V51RD2FN control of the core, the MSA-LD2.0 seesaw angle sensor real-time measurement of the tilt angle, the detection of black ST198 photoelectric sensor to monitor vehicle movement and guide lines.Photoelectric sensors and angle sensors in real-time measurement module to feed the signal to the microcontroller, using a dedicated sub-chip stepper motor driver TA8435H to PWM chopper-type stepper motor on the sub-stepping angle, control and regulation vehicle speed. The use of incremental PID control algorithm to ensure that the car can achieve balance with LCD RT128 × 64M time, angle and other parameters.After the test showed that: the performance car
    2023-09-02 02:10:04下载
    积分:1
  • PHILIPS LPC900 PWM CRTL 时间可调
    PHILIPS LPC900 PWM CRTL 时间可调 -PHILIPS LPC900 time adjustable PWM CRTL
    2022-01-26 01:04:17下载
    积分:1
  • keil 环境 收IR及发IR的相关软件
    keil 环境 收IR及发IR的相关软件-keil environmental collection of IR and IR-fat related software
    2022-04-30 21:15:33下载
    积分:1
  • 51单片机浮点子程序库(大型),直接嵌入,方便使用.
    51单片机浮点子程序库(大型),直接嵌入,方便使用.-51 single-chip floating-point subroutine library (large), direct embedding, user-friendly.
    2022-03-17 08:04:21下载
    积分:1
  • PIC单片机的定时器使用的demo程序.内附说明.
    PIC单片机的定时器使用的demo程序.内附说明.-PIC MCU timer used demo program. Containing a note.
    2023-01-18 07:45:03下载
    积分:1
  • 基于TI的MSP430的方面的相关的软件和MSP430的相关的资料.
    基于TI的MSP430的方面的相关的软件和MSP430的相关的资料.-based on TI"s MSP430 aspects of the software and MSP430 relevant information.
    2022-01-25 21:28:08下载
    积分:1
  • 红外线遥控解码器,该程序实现将红外遥控器发出的红外线解码,并通过LCD显示出来...
    红外线遥控解码器,该程序实现将红外遥控器发出的红外线解码,并通过LCD显示出来 -infrared remote control decoder, the program will infrared remote control and using the infrared decoding, and out through the LCD display
    2022-12-27 20:15:04下载
    积分:1
  • 用msp430 对128×64的LCD的完全操作,
    用msp430 对128×64的LCD的完全操作, -Controller with 128 64 LCD full operation,
    2022-02-11 16:02:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载