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.
标签: speed programme is control
上传时间: 2014-11-22
上传用户:jyycc
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. 是初学入们,嵌入式的好教材!@简单易懂
标签: intermediate-level microcontroller programming discussion
上传时间: 2013-12-18
上传用户:lo25643
[UsbKbd.rar] - usbkbd,用wdm编写的usb和键盘的驱动示例 [USB2.0_USB_driver.rar] - 学习USB2.0驱动程序设计源码,包括Windows DDK Driver驱动的详细设计,U盘,MP3的程序设计例子 [mc8051_design.zip] - MC8051 IP CoreOregano Systems 8-bit Microcontroller IP-Core此公司提供的8051
标签: USB_driver USB 2.0
上传时间: 2013-12-29
上传用户:xauthu
MSP-FET430P410 Demo - Timer_A Toggle P5.1, CCR0 Contmode ISR, DCO SMCLK Description Toggle P5.1 using using software and TA_0 ISR. Toggle rate is set at 50000 DCO/SMCLK cycles. Default DCO frequency used for TACLK. Durring the TA_0 ISR P5.1 is toggled and 50000 clock cycles are added to CCR0. TA_0 ISR is triggered exactly 50000 cycles. CPU is normally off and used only durring TA_ISR. ACLK = n/a, MCLK = SMCLK = TACLK = DCO ~ 800k
标签: Toggle Description 5.1 Contmode
上传时间: 2014-01-04
上传用户:gut1234567
实现8比特字节的RS纠错编码,可以指定极性校验字节数目,能产生的最大校验序列长度为255字节(含极性校验字节).This is an implementation of a Reed-Solomon code with 8 bit bytes, and a configurable number of parity bytes. The maximum sequence length (codeword) that can be generated is 255 bytes, including parity bytes.
上传时间: 2016-08-24
上传用户:思琦琦
蜂鸣器唱《祝你平安》 * * ********************************************************************************/ SPK bit P2.3 ORG 0000H LJMP START ORG 000BH INC 20H 中断服务,中断计数器加1 MOV TH0,#0D8H MOV TL0,#0EFH 12M晶振,形成10毫秒中断
标签: 蜂鸣器
上传时间: 2014-11-08
上传用户:bruce5996
Keil C51 上51系列单片机优化的CRC-8 算法。可以自己改其他算式的,包含字节查表,半字节查表,bit计算。很难得的哦。
上传时间: 2014-01-12
上传用户:小鹏
The P89LPC938 is a single-chip microcontroller, available in low cost packages, based on a high performance processor architecture that executes instructions in two to four clocks, six times the rate of standard 80C51 devices. Many system-level functions have been incorporated into the P89LPC938 in order to reduce component count, board space, and system cost.
标签: microcontroller single-chip available packages
上传时间: 2013-12-04
上传用户:远远ssad
绝对好的源码,DM642上实现了H264算法,在CCS 上编译通过 NO ERROR
标签: 源码
上传时间: 2016-09-18
上传用户:ecooo
LCD Driver datasheet The SPF54126A, a 262144-color System-on-Chip (SoC) driver LSI designed for small and medium sizes of TFT LCD display, is capable of supporting up to 176xRGBx220 in resolution which can be achieved by the designated RAM for graphic data. The 528-channel source driver has true 6-bit resolution, which generates 64 Gamma-corrected values by an internal D/A converter. The source driver of SPFD54126A adopts OP-AMP structure to enhance display quality and it cooperates with advanced circuitry techniques to reduce power consumption.
标签: System-on-Chip datasheet designed Driver
上传时间: 2016-09-22
上传用户:xauthu