//获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_hasmode[mode]] vga_setmode[mode] else { printf["No such mode\n"] exit[1] } //取得信息 width = vga_getxdim[] height = vga_getydim[] colors = vga_getcolors[] //绘图 for[i=0 i<colors i++]{ vga_setcolor[i] vga_drawline[0, i, width-1, i] }
标签: vga_getcurrentmode vga_init oldmode vga_ha
上传时间: 2014-12-19
上传用户:maizezhen
Basic function to locate and measure the positive peaks in a noisy data sets. Detects peaks by looking for downward zero-crossings in the smoothed third derivative that exceed SlopeThreshold and peak amplitudes that exceed AmpThreshold. Determines, position, height, and approximate width of each peak by least-squares curve-fitting the log of top part of the peak with a parabola.
标签: peaks function positive Detects
上传时间: 2017-04-26
上传用户:彭玖华
Tiny Planet is small device connected to a GSM cell phone. When the mobile receives a predefined SMS (text message), like "Activate burglar alarm" or "Start backup pump", the circuit automatically recognizes it as a command, and switches the output port accordingly. Besides switching the port on or off, the user can pulse it for a short period (e.g. 鈥淩eboot remote server鈥?.
标签: predefined connected receives Planet
上传时间: 2017-05-17
上传用户:fanboynet
摘 要 文章以空间监控系统为背景,深入研究了JPEG图像压缩标准的实现方法,并基于FPGA对其进行了实现和优化。文中给出了详细的实现方法和优化过程,测试表明达到了很好的效果。 简单介绍了有损静态图像压缩当前有两种比较流行的标准JPEG和JPEG2000。说明了用JPEG方法压缩的原因。 介绍JPEG基本原理:JPEG对灰度图像的压缩处理过程主要包括:图像分割,离散余弦变换(DCT),量化(Quantization),“Z”形排序(Zigzag Scan),差分脉冲编码调制(Differential Pulse Code Modulation,DPCM)对直流系数(DC),行程长度编码(Run-Length Encoding,RLE)对交流系数(AC),霍夫曼(Huffman)编码等。 JPEG标准的特点是离散余弦变换。 比较详细介绍压缩系统的构成和实现。实现提及步骤, JPEG压缩模块设计和编码模块实现细节。
上传时间: 2013-12-25
上传用户:410805624
< content="Hello,sik" Dim oFCKeditor Set oFCKeditor = New FCKeditor oFCKeditor.BasePath = "../fckeditor/" oFCKeditor.ToolbarSet = "Default" oFCKeditor.Width = "550" oFCKeditor.Height = "400" oFCKeditor.Value = content oFCKeditor.Create "Content" >
标签: oFCKeditor FCKeditor BasePath content
上传时间: 2017-05-20
上传用户:zhuoying119
This application report discusses the design of non-invasive optical plethysmography also called as pulsoximeter using the MSP430FG437 Microcontroller (MCU). The pulsoximeter consists of a peripheral probe combined with the MCU displaying the oxygen saturation and pulse rate on a LCD glass. The same sensor is used for both heart-rate detection and pulsoximetering in this application. The probe is placed on a peripheral point of the body such as a finger tip, ear lobe or the nose. The probe includes two light emitting diodes (LEDs), one in the visible red spectrum (660nm) and the other in the infrared spectrum (940nm). The percentage of oxygen in the body is worked by measuring the intensity from each frequency of light after it transmits through the body and then calculating the ratio between these two intensities.
标签: plethysmography non-invasive application discusses
上传时间: 2014-01-17
上传用户:天诚24
Some time during my development works I had the need of printing the contents of a ListView control. So I wrote down the code for a custom control, named PrintableListView, that solved the following two problems: * extend the print on multiple pages when the width of the list exceeds the width of the print page, * shrink, optionally, the list in a way that the resulting width fits o
标签: development the ListView contents
上传时间: 2014-01-22
上传用户:Divine
-- ------------------------------------------------------------------------------------ -- DESCRIPTION : Demultiplexer -- Width: 8 -- Number of terminals: 4 -- Output enable active: HIGH -- Output active : HIGH -- Download from : http://www.pld.com.cn ------------------------------------------------------------------------------------
标签: DESCRIP
上传时间: 2013-12-27
上传用户:wangzhen1990
gmsk modulation of numerical data generated by a random source, the output of the modulator give two signals, the first is gmsk signal and the other is gaussien frequency pulse shape
标签: modulation generated numerical modulator
上传时间: 2014-01-19
上传用户:dongbaobao
上传图片或显示SWF的时候都希望得到它的高度和宽度 基本原理使用Adodb.Stream读二进制文件然后进行解析,然后返回一数组 第一个元素为类型(BMP JPG PNG GIF SWF) 第二个元素为宽度{width} 第三个元素为高度{height} 第四个元素为width={width},height={height}式字符串
上传时间: 2017-08-03
上传用户:zaizaibang