登录
首页 » C++ » CS11-1

CS11-1

于 2009-07-21 发布 文件大小:3KB
0 189
下载积分: 1 下载次数: 23

代码说明:

  这是单片机C语言的源码,稍微有点复杂,但大家仔细看,能够看懂(This is a single-chip C language source code, a bit complicated, but we look carefully, to understand)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • dianyuan
    利用51单片机的汇编语言来实现0到15V稳压电源的实现功能。(51 microcontroller using assembly language to achieve the 0 to 15V power supply to achieve function.)
    2010-10-19 16:02:26下载
    积分:1
  • 【19】DMA PWM WS2812 GPIO输出16组
    STM32作为主控芯片,72Mhz,利用DMA+PWM实现驱动WS2812,创建16个并行800kBit / s数据流的想法如下: 使用定时器每1.25us创建一个800kHz的时基和一个DMA请求。 使用2个比较模块在低位时间(350ns)和高位时间(700ns)下创建DMA请求 1.25us DMA请求将GPIO端口的所有位设置为高电平 350ns DMA请求将数据从帧缓冲区传输到GPIO端口。如果该位为0,GPIO引脚将变为低电平,否则将保持高电平。 700ns DMA请求将所有GPIO引脚设置为低电平。 重复步骤1到3,直到发送所有位。 这产生脉冲周期为1.25us,脉冲宽度为350ns或700ns的脉冲流,具体取决于脉冲表示的位值,通过DMA将数据传输到GPIO端口意味着每16个LED每位需要一个字(两个字节)。每个LED 24位,每16个LED 24个字(48个字节)。(The idea to create 16 parallel 800kBit/s data streams is the following: Use a Timer to create an 800kHz time base and a DMA request every 1.25us. Use 2 compare modules to create DMA requests at the low bit time (350ns) and the high bit time (700ns) The 1.25us DMA request sets all bits of the GPIO port high The 350ns DMA request transfers the data from the frame buffer to the GPIO port. If the bit is a 0, the GPIO pin will go low, otherwise it will stay high. The 700ns DMA request sets all GPIO pins low. Repeat steps 1 to 3 until all bits have been transmitted. This creates a stream of pulses with a pulse period of 1.25us and a pulse width of either 350ns or 700ns depending on the bit value the pulse represents. Transferring the data via DMA to the GPIO port means that per 16 LEDs one half word (two bytes) is needed per bit. At 24 bits per LED that makes 24 half words (48 bytes) per 16 LEDs.)
    2020-12-15 10:49:13下载
    积分:1
  • HDG12864F-3LCDDriver
    HDG12864F-3的液晶驱动,有Protues硬件仿真图,方便初学者参考(HDG12864F-3 LCD driver, a Protues hardware simulation map, easy reference for beginners)
    2010-08-13 09:43:14下载
    积分:1
  • fengmingqi
    C-51单片机实验,蜂鸣器的源代码,希望对大家有帮助,(*^__^*) 嘻嘻……(C-51)
    2009-10-26 19:17:13下载
    积分:1
  • spru085
    TMS320C2x Evaluation Module
    2009-04-17 16:44:24下载
    积分:1
  • BIN_IN
    keil C51 环境下 C语言编程 中直接输入二进制的头文件(Direct Input of Binary Header File in C Language Programming under Keil C51 Environment)
    2019-03-10 16:17:35下载
    积分:1
  • calculate
    51单片机表达式计算器,用1602显示,支持200个字符的滚屏显示。(51 MCU expression calculator, 1602, support 200 characters scrolling display.)
    2013-05-20 09:52:29下载
    积分:1
  • checkcond
    If there are no Klingons in this quadrant, we nullify any distress calls which might exist.
    2015-11-25 22:22:09下载
    积分:1
  • net
    单神经元pid控制器设计,可以直接调试参数,仿真通过没有问题(Single neuron pid controller design, can be directly debugging parameters, the simulation through no problem)
    2016-01-18 09:05:51下载
    积分:1
  • multisim
    multisim电子仿真实验源文件(Multisim electronics simulation source files)
    2007-10-12 23:40:16下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载