-
Zooming-and-Shrinking
Zooming: oversampling and Shrinking : undersampling
Zooming requires two steps:
Creation of new pixel locations,
Assignment of gray levels to those new locations.
To shrink an image by one-half, delete every other row and column.
- 2009-11-12 06:49:47下载
- 积分:1
-
CV3N00A
自动读取Felica 卡UID和Mifire 卡UID,可以作为门禁系统和考勤系统使用.(Felica card is automatically read and Mifire card UID UID, can be used as access control systems and time and attendance system.)
- 2011-06-02 15:40:08下载
- 积分:1
-
ppp48_CRC
48 bit CRC routines
These routines can be used to calculate a 48 bit CRC over an array of characters.(48 bit CRC routines These routines can be us ed to calculate a 48 bit CRC over an array of chara cters.)
- 2007-06-13 11:31:03下载
- 积分:1
-
430
msp430教程 讲解430的主要知识以及内部结构等 是学习430必要教程(The msp430 tutorial of 430 knowledge as well as the internal structure of learning 430 necessary tutorial)
- 2012-11-07 21:13:42下载
- 积分:1
-
example6_TIM
本例展示了如何设置TIM,用它来测量一个外部输入信号的频率和占空比。
TIM2时钟设置为72MHz,预分频设置为0,TIM2计数器时钟可表达为:
TIM2 counter clock = TIMxCLK / (Prescaler +1) = 72 MHz,因此可测量的最小频率值为1100Hz。
设置TIM2工作在PWM输入模式(PWM Input Mode),把外部信号作为输入连接到TIM2通道2。
利用TIM2计数器中断来测量信号的频率和占空比。在TIM2_IRQHandler中,计算信号的频率和占空比,方法如下:
变量"Frequency"为由下式得到的外部信号频率:
Frequency = TIM2 counter clock / TIM2_CCR2 单位Hz
变量"Duty_Cycle"为由下式得到的外部信号占空比:
Duty_Cycle = (TIM2_CCR1*100)/(TIM2_CCR2) 单位
(This example shows how to set up the TIM, and use it to measure the frequency and duty cycle of an external input signal. TIM2 clock set to 72MHz and the prescaler is set to 0, TIM2 is counter clock can be expressed as: TIM2 is counter clock = TIMxCLK/(prescaler. Ppls1) = 72 MHz, the minimum measurable frequency value of 1100 Hz. Set TIM2 PWM input mode (PWM Input Mode), the external signal as an input connected to the the TIM2 Channel 2. TIM2 counter interrupt signal to measure frequency and duty cycle. Calculate the frequency and duty cycle of the signal in TIM2_IRQHandler as follows: variable " Frequency" on the grounds of the external signal frequency by the following formula: Frequency = TIM2 is counter clock/TIM2_CCR2 unit Hz variable Duty_Cycle " on the grounds of the following formula to get external duty cycle: Duty_Cycle = (TIM2_CCR1* 100)/(TIM2_CCR2) in )
- 2012-05-18 18:28:47下载
- 积分:1
-
EEPROM-programming--
EEPROM读写实例,可直接写到STC12C5616AD烧写板子上的C程序(Instance can be directly read and write EEPROM programming board wrote STC12C5616AD C program)
- 2011-09-16 10:22:44下载
- 积分:1
-
IAR代码
按键控制流水灯,使用左移右移控制流水灯闪烁,实在不知道说啥了(Key control water lamp, use left shift right to control the flow of water lamp flashing, really do not know what to say)
- 2020-06-21 20:40:02下载
- 积分:1
-
5529和1306显示AD
msp430f5529使用OLED显示内部AD值(MSp430f5529 Displays Internal AD Value with OLED)
- 2020-06-20 23:20:01下载
- 积分:1
-
gSTC-ISP
stc51单片机linux下的串口下载程序,具有可视化界面。在下载的时候请注意选择较低的频率。(stc51 SCM under linux download, visual interface. Note that when you select a lower frequency of downloading.)
- 2013-12-25 09:17:11下载
- 积分:1
-
IAR
讲述IAR环境如何的使用简明教程,适合初步接触IAR的初学者使用(How about the use of IAR environment, simple tutorial for beginners to use the initial contact IAR)
- 2011-01-19 11:13:52下载
- 积分:1