數字電壓表 AD芯片: 采用8位串行A/D轉換器ADC0832。 ● 8位分辨率,逐次逼近型,基準電壓為 5V ● 5V單電源供電 ● 輸入模擬信號電壓范圍為 0~5V ● 有兩個可供選擇的模擬輸入通道 顯示: 使用三個數碼管。 顯示范圍: 0.00 - 5.10 (單位:V) 連接方式: AD_CLK → P1.0 AD_DAT → P1.1 AD_CS → P3.4 模擬輸入 → CH0 (AD_DAT = DO + DI) ADC0832輸出最大轉換值=FFH (255) 設定最大測量值=5.1V 255X=5.1 X=0.02 即先乘2再除以100 (小數點放在第三位數碼管)
上傳時間: 2015-06-18
上傳用戶:fandeshun
在本編譯程序中,源語言為PL/0語言,目標語言為假想棧式計算機的匯編語言.PL/0語言是Pascal語言的一個子集,PL/0的編譯程序包括了對PL/0語言源程序進行分析處理、編譯生成類PCODE代碼,并在虛擬機上解釋運行生成的類PCODE代碼的功能。 PL/0語言編譯程序采用以語法分析為核心、一遍掃描的編譯方法。詞法分析和代碼生成作為獨立的子程序供語法分析程序調用。語法分析的同時,提供了出錯報告功能。在源程序沒有錯誤編譯通過的情況下,調用類PCODE解釋程序解釋執行生成的類PCODE代碼。 該軟件為PL/0語言編譯程序,所實現的擴充功能如下: 1.增加單詞:保留字 ELSE,FOR,TO, DOWNTO 2.增加運算 +=,-=,++,-- 3.不等號# 改為 <> 4.增加條件語句的ELSE子句 5.擴充語句: ①FOR <變量>:=<表達式> TO <表達式> DO <語句> ②FOR <變量>:=<表達式> DOWNTO<表達式> DO <語句> 其中,語句①的循環變量的步長為1, 語句②的循環變量的步長為-1。 概述 源文件: *.plo 目標文件: *.COD 實現平臺:C++ Builder6.0
上傳時間: 2015-06-22
上傳用戶:hanli8870
Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.
標簽: connection pool applications program
上傳時間: 2013-12-25
上傳用戶:playboys0
Simple I2C controller -- 1) No multimaster -- 2) No slave mode -- 3) No fifo s -- -- notes: -- Every command is acknowledged. Do not set a new command before previous is acknowledged. -- Dout is available 1 clock cycle later as cmd_ack
標簽: multimaster controller No Simple
上傳時間: 2015-07-01
上傳用戶:zhangliming420
This file contains a new and improved version of the Huffman coder, (June 29. 2001). The name is Huff06.m. There are also some additional files which are helpful when using Matlab for data compression: quantizer, different variants of run-length-encoding and end-of-block coding in Mat2Vec, and a program which do JPEG-like entropy coding. A complete compression example is shown in TestMat2Vec.m. This file is all you need for Huffman coding in MatLab.
標簽: contains improved Huffman version
上傳時間: 2015-07-05
上傳用戶:jeffery
1. PL/0 語言介紹 ●PL/0 程序設計語言是一個較簡單的語言,它以賦值語句為基礎,構造概念有順序、條件和重復(循環)三種。PL/0 有子程序概念,包括過程定義(可以嵌套)與調用且有局部變量說明。PL/0語言編譯程序采用以語法分析為核心、一遍掃描的編譯方法。詞法分析和代碼生成作為獨立的子程序供語法分析程序調用。語法分析的同時,提供了出錯報告和出錯恢復的功能。在源程序沒有錯誤編譯通過的情況下,調用類PCODE解釋程序解釋執行生成的類PCODE代碼。 ●保留字(關鍵字):所謂保留字是指在Pascal語言中具有特定的含義。標準Pascal語言中的保留字一共有35個,Turbo Pascal語言一共有51個。下面是Pascal語言的保留字:AND,ARRAY,BEGIN,CASE,CONST,DIV,DO,DOWNTO,ELSE,END,FILE,FOR,FUNTION,GOTO,IF,IN,LABEL,MOD,NIL,NOT,OF,OR,PACKED,PROCEDURE,PROGRAM,RECORD,REPEAT,SET,THEN,TO,TYPE,UNTIL,VAR,WHILE,WITH,EXPORTS,SHR,STRING,ASM,OBJECT,UNIT,CONSTRUCTOR,IMPLEMENTATION,DESTRUCTOR,USES,INHERITED,INLINE,INTERFACE,LIBRARY,XOR,SHL
上傳時間: 2015-07-17
上傳用戶:zm7516678
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
標簽: distributed WARRANTY library WITHOUT
上傳時間: 2015-08-03
上傳用戶:牛布牛
THIS is really two books in one: a tutorial and a reference manual for JDBC, the application programming interface that makes it possible for programmers to access databases from Java. The goal is to be useful to a wide range of readers, from database novices to database experts. Therefore, we have arranged the book so that information needed only by experts is separated out from the basic material. We hope that driver developers as well as application programmers and MIS administrators will find what they need. Because different sections are aimed at different audiences, we expect that few people will read every page. We have sometimes duplicated explanations in an effort to make reading easier for those who do not read all sections. This book will be most helpful to those who have some knowledge of the Java programming language and SQL (Structured Query Language), but one doesn t need to be an expert in either to understand the basic concepts presented here.
標簽: application reference tutorial program
上傳時間: 2015-08-04
上傳用戶:zhengzg
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
標簽: PROVIDED INFORMATION THE MICROSOFT
上傳時間: 2014-01-06
上傳用戶:skhlm
plo 清華版的第二章的那個!! 1. 基本內容(成績范圍:“中”、“及格”或“不及格”) 對PL/0作以下修改擴充: (1)增加單詞:保留字 ELSE,FOR,TO, DOWNTO 運算符 +=,-=,++,-- 修改單詞:不等號# 改為 <> 增加條件語句的ELSE子句 (2)擴充賦值運算:+= 和 -= (3)擴充語句(Pascal的FOR語句): ①FOR <變量>:=<表達式> TO <表達式> DO <語句> ②FOR <變量>:=<表達式> DOWNTO <表達式> DO <語句> 其中,語句①的循環變量的步長為1, 語句②的循環變量的步長為-1。 選做內容: (1)增加運算:++ 和 --。 (4)增加一維數組類型(可增加指令)
上傳時間: 2014-01-10
上傳用戶:Breathe0125