a Java program that reads in the following values from the standard input device (i.e.
Keyboard) and writes its result on the standard output device (i.e. Console/Monitor):
Inputs:
A: the loan amount in dollars and cents (e.g. 150000.00).
r: the net annual interest rate, expressed as an integer (e.g. 10 which means 10%)
Y: the number of whole remaining years (for repayment)
M: the number of remaining months
Output:
The program should calculate and output the amount of monthly repayments in dollars and cents as
single value (e.g. $840.55)
water temperature control system uses the Single Chip Microcomputer to carry on temperature real-time gathering and controling. DS18B20, digitized temperature sensor, provides the temperature signal by "a main line". In -10~+85℃ the scope, DS18B20’s inherent measuring accuracy is 0.5 ℃. The water temperature real-time control system uses the electricity nichrome wire carring on temperature increiseament and operates the electric fan to realize the temperature decrease control. The system has the higher measuring accuracy and the control precision, it also can complete the elevation of temperature and the temperature decrease control.
應用德國Micronas公司的CDC3207G微控制器開發(fā)了一款汽車儀表板系統(tǒng)。詳細地介紹了該系統(tǒng)的硬件原理,以及步進電機,音頻控制,LCD顯示,LED指示燈和報警燈等幾個模塊的實現(xiàn)方法。應用μC/OS-II實時操作系統(tǒng)開發(fā)軟件。著重介紹了啟動代碼的設計和任務的規(guī)劃。
Abstract:
A dashboard system is developed by using CDC3207G microcontroller made by Micronas.The hardware of the sys-tem and the realization of the step motor module,audio module,LCD display and LED indicator and alarm module are ex-plained in detail.The μC/OS-II real-time operating system is used for the software development and the starting code design and the task planning is explained specifically.
基于單DSP的VoIP模擬電話適配器研究與實現(xiàn):提出和實現(xiàn)了一種新穎的基于單個通用數(shù)字信號處理器(DSP)的VoIP模擬電話適配器方案。DSP的I/O和存儲資源非常有限,通常適于運算密集型應用,不適宜控制密集型應用[5]。該系統(tǒng)高效利用單DSP的I/O和片內(nèi)外存儲器資源,采用μC/OS-II嵌入式實時操作系統(tǒng),支持SIP和TCP-UDP/IP協(xié)議,通過LAN或者寬帶接入,使普通電話機成為Internet終端,實現(xiàn)IP電話。該系統(tǒng)軟硬件結構緊湊高效,運行穩(wěn)定,成本低,具有廣闊的應用前景。關鍵詞:模擬電話適配器;IP電話;數(shù)字信號處理器;μC/OS-II
【Abstract】This paper presents a VoIP ATA solution based on a single digital signal processor (DSP). DSPs are suitable for arithmetic-intensiveapplication and unsuitable for control-intensive application because of the limitation of I/O and memory resources. This solution is based on a 16-bitfixed-point DSP and μC/OS-II embedded real-time operating system. It makes good use of the limited resources, supports SIP and TCP-UDP/IPprotocol. It can connect the analog telephone to Internet and realize the VoIP application. This system has a great future for its high efficiency andlow cost.【Key words】Analog telephone adapter (ATA); Voice over Internet protocol (VoIP); Digital signal processor (DSP); μC/OS-II
Research and Implementation of VoIPATA Based on Single DSP