-
source
本程序采用F2812作为控制器,实现6个小led灯一次亮灭,使用GPIOA0-A5输出口(The program uses F2812 as a controller, 6 small led lights to achieve a light off, use GPIOA0-A5 output port)
- 2013-08-20 11:29:07下载
- 积分:1
-
TMS320C6711DandFPGA
为满足某捷联导引头上图像辅助末制导系统的需要,设计了以高速浮点DSP芯片TMS320C6711D和现场可编程门阵列FPGA为核心的高性能图像匹配处理平台。文中详述了该系统的软、硬件设计以及各模块的组成和功能,最后通过软硬件联合测试表明,该系统可完全满足图像导引头上处理速度快、存储容量大、实时性强的要求,并具有小型化、低成本和集成度高的优点。 更多还原(In order to meet the demands of image-aided terminal guidance system,a high-performance scene-matching system based on TMS320C6711D and FPGA is designed.The overall hardware and software design and the composition of all function modules are described.Experiment results show that the scheme can totally meet the demands of high-speed,large storage and real-time performance of the strapdown seeker,and also has the merits of small volume,low cost and nice stability. 更多还原)
- 2012-08-11 17:49:36下载
- 积分:1
-
LED
用PIC16f1847做的流水灯,经过测试可以运行(travelling LED program)
- 2013-11-16 02:38:20下载
- 积分:1
-
sprab60
tms320c6000系列由out文件生产boot文件的工具(the tool of changing file .out to boot file)
- 2021-04-07 19:19:01下载
- 积分:1
-
28335svpwmProgram
基于TMS320F28335 SPVWM的实现源代码,已在CCS3.3中编译通过,波形很好。(TMS320F28335 implementation of SVPWM based, university thes is, it is practical)
- 2020-07-02 07:20:02下载
- 积分:1
-
q1
说明: Pokeface
题目描述
魔术师将一叠扑克顺次在桌上排成一行,初始全部正面朝上。随后,他每次挥一挥衣袖,都会翻转一连串的扑克,改变它们的正反朝向。从古代传下来的规矩,魔术师皆有师傅,他们要随时准备回答师傅的问题。问题形如:目前从第i张扑克牌到第j张扑克牌中,有几张正面朝上?
作为魔术师的助手,你被要求学习程序设计、算法与数据结构。现在,魔术师把这个问题交给了你,你需要编写一个程序,维护相应的数据结构来保存桌子上牌面的情况,同时对于师傅的每一个问题,你要用尽量快的速度计算出答案。
输入
第一行包含三个正整数n、p和q。n表示扑克牌的数量,p表示魔术师的挥一挥次数,q表示师傅的问话次数。
接下来共p+q行,每行包含一个操作,操作分为2种:
H i j 魔术师挥一挥,改变了第i张牌到第j张牌的正反
Q i j 师傅问话:截至目前,第i张到第j张牌中有多少张正面朝上
操作中恰好包含p次H操作,q次Q操作,与第一行的p和q吻合。H操作和Q操作的范围均包含边界(即第i张和第j张牌)。
对于每个操作,输入保证1 ≤ i ≤ j ≤ n。
输出
对于每次Q操作,输出一行,包含一个整数,表示问题的答案。
提示:线段树(Pokeface
Title Description
The magician will stack poker table sequentially in a row, all the initial face-up. He then every wisp will flip a series of poker pros and cons of changing their orientation. The rules handed down ancient times, the master magician Jie, they be ready to answer the teacher s questions. Question of the form: Currently playing cards i to j-card poker, there are a few face-up?
As a magician s assistant, you are required to learn programming, algorithms and data structures. Now, the magician put this question to you, you need to write a program to maintain appropriate data structure to hold the cards on the table face the situation, while the master for each question, and you want to use as quickly calculate the answer.
Enter
The first line contains three positive integers n, p and q. n represents the number of poker, p represents the wave of the magic number, q represents the number of master s questioning.
Next, a total of p+ q rows, each containi)
- 2015-01-18 15:02:14下载
- 积分:1
-
CLA-CCSv4.x
F28035DSP,在CCS4环境下的配置,可以同时调试主CPU和CLA(F28035DSP, in the environment of CCS4 configuration, can debug the main CPU and CLA)
- 2020-12-12 16:09:15下载
- 积分:1
-
SPWM
实现dsp tms320lf2407为控制核心的三相逆变器控制的程序代码。实现全数字ups逆变器设计。(DSP TMS320LF2407 as the control core three-phase inverter control program code. All-digital UPS inverter design.)
- 2013-04-20 17:11:30下载
- 积分:1
-
example41_SD_FAT32
说明: DSP实现对内存卡写入的测试程序
能够准确的对内存卡进行写入操作
可在此基础上进一步开发内存卡(A Test Program for Memory Card Writing Based on DSP
Can accurately write to memory card
On this basis, memory card can be further developed.)
- 2020-06-17 22:20:01下载
- 积分:1
-
DSP2812_LM3037
说明: DSP2812控制的LM3037程序,采用串行通信模式,时序比较复杂,请读者参照DATASHEET。(DSP2812 the LM3037 control procedures, the use of serial communication mode, timing is rather complicated, please refer to the reader DATASHEET.)
- 2009-07-28 11:27:38下载
- 积分:1