虫虫首页|资源下载|资源专辑|精品软件
登录|注册

D2

  • S08例程:本程序是KB模块的例程

    S08例程:本程序是KB模块的例程,所用资源为单片机内部KBI模块,所接器件为按键和LED,其中D2与PTA0,D3与PTA1,S2与PTA2,D3与PTA3相连接

    标签: S08 程序 模块

    上传时间: 2014-01-20

    上传用户:love1314

  • S08例程:本程序是I/O模块的例程

    S08例程:本程序是I/O模块的例程,所用资源为单片机通用IO接口,所接器件为LED灯, 其中D2与PTA0,D3与PTA1相连接!

    标签: S08 程序 模块

    上传时间: 2013-12-26

    上传用户:zhoujunzhen

  • 希尔排序(缩小增量法) 排序过程:先取一个正整数d1<n

    希尔排序(缩小增量法) 排序过程:先取一个正整数d1<n,把所有相隔d1的记录放一组,组内进行直接插入排序;然后取D2<d1,重复上述分组和排序操作;直至di=1,即所有记录放进一个组中排序为止

    标签: 排序 lt 增量 过程

    上传时间: 2013-12-29

    上传用户:waizhang

  • For solving the following problem: "There is No Free Lunch" Time Limit: 1 Second Memory Limit: 3

    For solving the following problem: "There is No Free Lunch" Time Limit: 1 Second Memory Limit: 32768 KB One day, CYJJ found an interesting piece of commercial from newspaper: the Cyber-restaurant was offering a kind of "Lunch Special" which was said that one could "buy one get two for free". That is, if you buy one of the dishes on their menu, denoted by di with price pi , you may get the two neighboring dishes di-1 and di+1 for free! If you pick up d1, then you may get D2 and the last one dn for free, and if you choose the last one dn, you may get dn-1 and d1 for free. However, after investigation CYJJ realized that there was no free lunch at all. The price pi of the i-th dish was actually calculated by adding up twice the cost ci of the dish and half of the costs of the two "free" dishes. Now given all the prices on the menu, you are asked to help CYJJ find the cost of each of the dishes.

    标签: Limit following solving problem

    上传时间: 2014-01-12

    上传用户:362279997

  • 编制具有如下原型的函数prime

    编制具有如下原型的函数prime,用来判断整数n是否为素数:bool prime(int n) 而后编制主函数,任意输入一个大于4的偶数d,找出满足d=d1+D2的所有数对,其中要求d1与D2均为素数(通过调用prime来判断素数)。如偶数18可以分解为11+7以及13+5;而偶数80可以分解为:43+37、61+19、67+13、73+7。 提示:i与d-i的和恰为偶数d,而且只有当i与d-i均为奇数时才有可能成为所求的“数对”。

    标签: prime 编制 原型 函数

    上传时间: 2017-01-02

    上传用户:Breathe0125

  • 一、KOL是什么?KOL能做什么? MCK是什么?MCK能做什么? KOL是一套对象库

    一、KOL是什么?KOL能做什么? MCK是什么?MCK能做什么? KOL是一套对象库,免费而且开放源代码,大家可以http://bonanzas.rinet.ru/去下载到 它。它能够使Delphi编出尺寸非常小的32位Windows图形用户界面的应用程序。 目前支持的Delphi版本:Delphi6,Delphi5,Delphi4,Delphi3和Delphi2。 使用KOL在D2-D5中编写的最小图形界面程序(只有一个窗体的空应用程序),只有13K左右。 在D6中为20K左右。 MCK一套以KOL为基础的可视化组件,用它就像用VCL一样的方便省事而且可以达到和KOL一 样的效果。

    标签: KOL MCK 对象库

    上传时间: 2013-12-17

    上传用户:1966640071

  • 简单的无线遥控音乐制作 采用HC2272

    简单的无线遥控音乐制作 采用HC2272,HC2262接收, 对应管脚连接: 1、无线遥控部分 D0----P1^0 D1----P1^1 D2----P1^2 D3----P1^3 VT----P3^2 2、显示部分: 74LS48驱动共阴数码管 A-----P3^0 B-----P3^1 C-----P3^2 D-----P3^3 3、蜂鸣器(或喇叭) P3^4

    标签: 2272 HC 无线遥控

    上传时间: 2014-12-01

    上传用户:txfyddz

  • This is a source of 13.560MHz RFID card reader for TRH031M as ATMEGA8-16AU MPU. The title is 3Alogi

    This is a source of 13.560MHz RFID card reader for TRH031M as ATMEGA8-16AU MPU. The title is 3Alogics TRH031M 13.56MHz RFID Reader V1.0. project : RFID Reader V2.0 Target : MEGA8-16AU Crystal: 16.000 Mhz Input : TRH031M RFID 13.56MHz Output : RS232C 115200,N,8,1 Compiler : ICC-AVR V6.26C // Pin configuration for ATMEGA8-16AU TQFP32 // #30 RXD <--- RXD (SP3232) // #31 TXD ---> TXD (SP3232) // #32 PD2/INT0 <--- INTR (TRH031M) // # 1 PD3/INT1 ---> RST (TRH031M) // # 2 PD4 ---> D4 (TRH031M) // # 9 PD5 ---> D5 (TRH031M) // #10 PD6 ---> D6 (TRH031M) // #11 PD7 ---> D7 (TRH031M) // #12 PB0 ---> D0 (TRH031M) // #13 PB1 ---> D1 (TRH031M) // #14 PB2 ---> D2 (TRH031M) // #15 PB3 ---> D3 (TRH031M) // #16 PB4 ---> CSB (TRH031M) // #17 PB5 ---> LED // #23 PC0 ---> A0 (TRH031M) // #24 PC1 ---> A1 (TRH031M) // #25 PC2 ---> A2 (TRH031M) // #26 PC3 ---> ALE (TRH031M) // #27 PC4 ---> /RD (TRH031M) // #28 PC5 ---> /WR (TRH031M)

    标签: 13.560 ATMEGA 3Alogi source

    上传时间: 2017-03-30

    上传用户:s363994250

  • program to solve a finite difference discretization of Helmholtz equation : (

    program to solve a finite difference discretization of Helmholtz equation : (D2/dx2)u + (D2/dy2)u - alpha u = f using Jacobi iterative method. COMMENTS: OpenMP version 3: 1 PR outside the iteration loop, 4 Barriers Directives are used in this code to achieve paralleism. All do loops are parallized with default static scheduling.

    标签: discretization difference Helmholtz equation

    上传时间: 2014-01-11

    上传用户:bruce5996

  • -- Hamming Decoder -- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder a

    -- Hamming Decoder -- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder above) and performs single error correction and double error detection. -- download from: www.pld.com.cn & www.fpga.com.cn LIBRARY ieee USE ieee.std_logic_1164.ALL ENTITY hamdec IS PORT(hamin : IN BIT_VECTOR(0 TO 7) --d0 d1 D2 d3 p0 p1 p2 p4 dataout : OUT BIT_VECTOR(0 TO 3) --d0 d1 D2 d3 sec, ded, ne : OUT BIT) --diagnostic outputs END hamdec ARCHITECTURE ver1 OF hamdec IS BEGIN

    标签: Hamming produced Decoder decoder

    上传时间: 2017-07-14

    上传用户:520