Description: This program demonstrates a half-duplex 9600-baud UART using
// Timer_A3 using no XTAL and an external resistor for DCO ROSC. DCO used for
// TACLK UART baud generation. The program will wait in LPM4, echoing back
// a received character using 8N1 protocol. On valid RX character, the
// character is echoed back.
// Using a 100k resistor on ROSC, with default DCO setting, set DCOCLK ~ 2MHz.
// ACLK = n/a, MCLK = SMCLK ~2MHz DCOCLK
Proceedings of Practice of Interesting Algorithms 2007
The editor assumes no responsibility for the accuracy, completeness or usefulness of
the information disclosed in this volume. Unauthorized use might infringe on
privately owned patents of publication right. Please contact the individual authors for
permission to reprint or otherwise use information from their papers.
First edition 2007
Publication Planned by Prof. Wenxin Li
Edited by Yili Zhao
All rights reserved
by
Artificial Intelligence Laboratory, Peking University
June 26, 2007
C/C++ Reference
There are no "Introduction to Programming" tutorials here. This site is meant to be used by more-or-less experienced C++ programmers, who have a good idea of what they want to do and simply need to look up the syntax. If you re interested in learning C/C++, try one of these sites:
How C Programming Works
C Programming
C++ Language Tutorial
Teaching programming basics from the ground up, this book helps even those with no prior programming knowledge learn JavaScript and use this knowledge to create interesting, useful, and dynamic sites.
RS232.C was written to provide all of the basic functionality needed
to employ serial I/O in any application written with Borland C
language compilers. Some features are:
1. Ease of use. No assembly language or library files are used and a simple "#include" statement is all that is required to access all of the functions provided.
2. Both input and output are buffered and interrupt driven for efficiency.
3. Serial ports 1 - 4 are supported on PC, AT and PS/2 compatibles.Chained interrupts used on port 3 and 4 are allowed for so as not to interfere with devices such as a mouse or printer. Transmission speeds of 110 to 115200 baud are available.
4. Detection and utilization of hardware buffered UARTs (NS16550AF
etc.) found in some machines is automatic.
5. Interrupt driven hardware and XON/XOFF flow control is provided for.
6. All source code is included. RS232.C can be used with all memory
models.
The main features of the considered identification problem are that there is no an a priori separation of the variables into inputs and outputs and the approximation criterion, called misfit, does not depend on the model representation. The misfit is defined as the minimum of the l2-norm between the given time series and a time series that is consistent with the approximate model. The misfit is equal to zero if and only if the model is exact and the smaller the misfit is (by definition) the more accurate the model is. The considered model class consists of all linear time-invariant systems of bounded complexity and the complexity is specified by the number of inputs and the smallest number of lags in a difference equation representation. We present a Matlab function for approximate identification based on misfit minimization. Although the problem formulation is representation independent, we use input/state/output representations of the system in order
蕃茄炸彈超人[ACT]I ve no Tomatoes
開放原始碼,45度視角,有點像炸彈超人,
你操作一個"蕃茄",在迷宮里炸敵人,這是跨平臺游戲。游戲目的很簡單,就是把對手炸了,至於為什么主角是蕃茄...
游戲本身是開源的,而且跨Windows/Linux/Mac,基於SDL,說起來SDL跨平臺的能力是很不錯...雖然有些人不是很喜歡。游戲支援2人同時玩~