虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

input-events

  • This example program shows how to configure and use the A/D Converter of the following microcontroll

    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 a

    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

    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的情况

    一般会使用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 检视员中定义,那时,就只有 自己想办法啦。

    标签: WINDOW 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 Auto

    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 streamline

    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 def

    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 mo

    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

    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

    上传用户:爱死爱死