This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port. To run this program... Build the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Window (View Menu, Serial Window #1) View the A/D converter peripheral (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.
標簽: microcontroll Converter configure following
上傳時間: 2014-12-01
上傳用戶:獨孤求源
to show the waveform of audio file and play it on computer Purpose: Familiar with WAV file format and UI design It should have the following functions: Provide a Graphic User Interface for user to browse the file system and select one WAV file Show the waveform of input audio signal Play the selected WAV file Print the parameters of WAV file such as sampling rate, bit-depth, etc
標簽: file Familiar computer waveform
上傳時間: 2015-05-07
上傳用戶:l254587896
JBoss, one of the leading java Open Source groups, integrates and develops these services for a full J2EE-based implementation. JBoss provides JBossServer, the basic EJB container, and Java Manage Preface 18 Great Events of the Twentieth Centuryment Extension (JMX) infrastructure. It also provides JBossMQ, for JMS messaging, JBossTX, for JTA/JTS transactions, JBossCMP for CMP persistence, JBossSX for JAAS based security, and JBossCX for JCA connectivity. Support for web components, such as servlets and JSP pages, is providedby an abstract integration layer. Implementations of the integration service are provided for third party servlet engines like Tomcat and Jetty. JBoss enables you to mix and match these components through JMX by replacing any component you want with a JMX compliant implementation for the same APIs.
標簽: integrates develops services leading
上傳時間: 2014-11-03
上傳用戶:wsf950131
一般會使用WINDOW API的情況,實在是因為VB本身不提供某些功能,但是,程式所 需又不得不然,例如:讀取Registry內的資料,VB只提供SaveSetting、Getsetting 等 系列的指令,但是它只能讀取特定地區的值,要讀、刪、更動其他區域的值時,就無法 使用。再如:仔細看一看Combo Box的Events,其中沒有MouseMove,但這是我們經常用 上的一個Event,那該如何呢?是的,那只有透過Winodow API。而VB呼叫Window API一 般不都使用API檢視員,直接將相對應的API COPY到我們的程式中就好,那還用什麼技 巧嗎?其實不然,因為VB資料格式的問題,又加上VB本身沒有指標,在許多地方需要一 些小技巧才能解決,而且我們經常因應不同的需求,將API 檢視員的宣告COPY過來後再 做一些修改,最重要的,如果有一個.DLL檔,它不在API 檢視員中定義,那時,就只有 自己想辦法啦。
上傳時間: 2014-01-18
上傳用戶:sclyutian
數字運算,判斷一個數是否接近素數 A Niven number is a number such that the sum of its digits divides itself. For example, 111 is a Niven number because the sum of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the sum of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no
上傳時間: 2015-05-21
上傳用戶:daguda
Delineate is a tool for converting bitmap raster images to SVG (Scalable Vector Graphics) using AutoTrace or potrace. It displays SVG results using Apache Batik. Input formats are JPEG, PNG, GIF, BMP, TIFF, PNM, PBM, PGM, PPM, IFF,PCD, PSD, RAS.
標簽: converting Delineate Graphics Scalable
上傳時間: 2014-01-19
上傳用戶:四只眼
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition
標簽: government streamline important alphabet
上傳時間: 2015-06-09
上傳用戶:weixiao99
This applet illustrates the prediction capabilities of the multi-layer perceptrons. It allows to define an input signal on which prediction will be performed. The user can choose the number of input units, hidden units and output units, as well as the delay between the input series and the predicted output series. Then it is possible to observe interesting prediction properties.
標簽: capabilities illustrates multi-layer perceptrons
上傳時間: 2015-06-17
上傳用戶:lnnn30
Rotating shafts experience a an elliptical motion called whirl. It is important to decompose this motion into a forward and backward whil orbits. The current function makes use of two sensors to generate a bi-directional spectrogram. The method can be extended to any time-frequency distribution % % compute the forward/backward Campbell/specgtrogram % % INPUT: % y (n x 2) each column is measured from a different sensor % /////// % __ % |s1| y(:,1) % |__| % __ % / \ ________|/ % | | | s2 |/ y(:,2) % \____/ --------|/ % % Fs Sampling frequnecy % % OUTPUT: % B spectrogram/Campbel diagram % x x-axis coordinate vector (time or Speed) % y y-axis coordinate vector (frequency [Hz])
標簽: experience elliptical decompose important
上傳時間: 2015-06-23
上傳用戶:372825274
Included are the files wav1.m, wav2.m, wavecoef.mat and readme. wav2 function implements the tree structured wavelet transform of the input matrix, up to the given level of decomposition. Wav2 uses another function called wav1, which takes the well known wavelet transform of the given matrix. Daubechies wavelet coefficients are used for wavelet transform operation wahich is saved in wavcoeff.mat.
標簽: implements the wav Included
上傳時間: 2015-06-23
上傳用戶:愛死愛死