法國cromda編寫的新版本MATRICE 2(矩陣和矢量運算單元)。
// ----------------------------------------------------------
// 12-01-02 : MODIFIED Matrice to Matrice2 (Delphi 6)
// All routines now operate on rectangular matrix, except (InvMat and SysLin)
// No more need to use the InitMat procedure (suppressed) :
// - the routines detect automaticaly the dimensions of matrix and vector
// - error code MatDimNul is generated if zero lines or column in matrix and vector (See DimensionMatrice and DimensionVecteur)
// - error code MatMauvDim is generated if the dimensions of matrix/vector don t allow valid RESULT
// -
// The RESULT matrix is dimensioned automaticaly
upsd_flash.c
These functions are provided to help you develop your initial code.
They are optimized for speed rather that size. As a RESULT, you will
see very few nested function calls. If speed is not critical, you
can use function calls for common tasks (like dat polling after
writing a byte to Flash) The penalty is the extra processor
time to make the nested calls.
This will sample all 8 A/D-channels by the continous mode.
Each end of conversion will call an interrupt routine,
where the AD-channel is put to Port4[2..0]
and the upper nibble of the RESULT is put to Port4[7..4].
Port 4 is connected to the user LEDs of the FlashCan100P Evaluation-Board
富士通單片機MB902420系列
extINT Project:
All external Interrupt-Pins INT0 .. INT7 will be enabled.
A falling edge on INTx will toggle PDR4_P4x
in order to toggle the LEDx of the Flash-CAN-100P Board
e.g. falling edge on INT3 will RESULT in LED D3 will toggleP47..P40 (UserLEDs of FlashCan100P)
and will send out again as byte-packages to ID#2
Receive-Buffer #1 : basic can
Transmit-Buffer #6 : full-can ID #2
VBS解析_delphi.rar
function ParseFileDir(a_strFileName)
{
var l_FunNo
var l_BaseDir
var RESULT
l_BaseDir = "D:\\X項目\\"
l_FunNo = a_strFileName.substring(0, 5)
RESULT = l_BaseDir+l_FunNo + \\ +a_strFileName
return RESULT
}
This programme is to control DC motor in a certain speed using PWM.
The target speed is "r", it is the speed in 1s.
The sample rate is 0.1s, so the actual speed target is "rc"=r/10.
The "r" and "rc" are integer, and the range of "r" is from 50 to 100.
Keep rc=r/10!!!
The array "speed1" and "speed2" are the control RESULT, in 0.1s and 1s.
The length of "speed1" is 2400, and "speed2" is 240.
The "pw" and "nw" are the parameters of PWM.
The test will last 4 min.
This book provides a complete intermediate-level discussion of microcontroller programming using
the C programming language. It covers both the adaptations to C necessary for targeting an
embedded environment, and the common components of a successful development project.
C is the language of choice for programming larger microcontrollers (MCU), those based on 32-bit
cores. These parts are often derived
from their general-purpose
counterparts, and are both as
complex and feature-rich. As a RESULT, C (and C++) compilers are necessary and readily available for
these MCUs.
是初學入們,嵌入式的好教材!@簡單易懂
This a GUI based system. The GUI is invoked from the command line by typing "ui_start". The GUI is self explanatory.
Tool tips are given in blue color. The cursor needs to be positioned on these for detailed explanation. The main file is
"runsim.m". In these simulations the SISO option is not explicitly given. This is because the SISO RESULT for a particular
type of modulation is shown in every plot for purposes of comparison.
This software has been tested on MATLAB version 6.0 and above with signal processing and communication toolbox options.
//通過18B20檢測的數字溫度可在電腦上顯示當前溫度值
#include <reg52.h>
#define uchar unsigned char
#define uint unsigned int
sbit DS=P2^2 //define interface
uint temp // variable of temperature
uchar flag1 // sign of the RESULT positive or negative
sbit dula=P2^6
sbit wela=P2^7