//獲得當前的模式 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