登录
首页 » c » W2812B

W2812B

于 2023-08-04 发布 文件大小:4.96 kB
0 118
下载积分: 2 下载次数: 1

代码说明:

16 LED2_BYTE_Buffer[24]; //·¢ËÍÊý×黺´æ //u32 LED2_WORD_Buffer[8]; u8 rld= 0x9f; u8 gld= 0x9f; u8 bld= 0x9f; u32 *RGB;//ÑÕÉ«ÁбíÊý×é u32 len; u32 P1,P2,P1_data,P2_data,liang_data=0,chuzhi1,chuzhi2; u32 liang=0x00ffffff; u32 mie  =0x00000000; u32 color2812[]= {    0x00ffffff,0x00ffff85,0x00ffffaa,0x00ffff9b,0x00ffff8c,0x00ffff7d,0x00ffff76,0x00ffff6f,0x00ffff66,0x00ffff5f, 0x00ffff50,0x00ffef41,0x00ffdf32,0x00ffcf23,0x00ffaf16,0x00ff8f0f,0x00ff6f0a,0x00ff5f05,0x00ff4f02,0x00ff3f00, 0x00ef3700,0x00cf3000,0x00af2f00,0x009f23f00,0x007f2000,0x005f1700,0x003f1000,0x001f0800,0x000f0300,0x00000000, // 0x00ef3f00,0x00ef3f00,0x00ef3f00,0x00ef3f00,0x00ef3f00,0x00ef3f00,0x00ef3f00,0x00ef3f00,0x00ef3f00,0x00ef3f00, }; void out_RGB(u16 data_Max_Length,u16 colorwidth); void WS2812B_TIM_init(void) {

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

发表评论

0 个回复

  • OpenGL_LOD
    OpenGL_LOD--
    2006-04-03 12:00:03下载
    积分:1
  • RINEX文件读取程序
    说明:  RINEX2.11观测文件读取,包含两种程序的读取分别是matlab和C++(read RINEX2.11 OBSERVATION file,include two project one is matlab the other is C++)
    2020-11-11 15:29:45下载
    积分:1
  • DelegateDemo
    WPF委托示例代码,适合初学者,委托学习(WPF commissioned sample code, suitable for beginners, commissioned study)
    2013-11-25 16:48:15下载
    积分:1
  • ofdm
    说明:  真对无线通信中的正交频分复用的matlab仿真源代码。(True for wireless communications in orthogonal frequency division multiplexing matlab simulation source code.)
    2009-09-02 09:07:22下载
    积分:1
  • linliangyu
    基于AT89C2051的,完整的电子时钟显示,带有多个闹钟的设置,不同闹钟时刻可以播放不同的歌曲,(Based on AT89C2051, complete electronic clock with multiple alarm clock settings, different alarm time can play different songs,)
    2012-09-23 13:00:15下载
    积分:1
  • NTC
    STM8S的芯片内置的ADC采样NTC,通过查表,插值计算出实际的温度,然后通过内置PWM控制LED的亮度,从而控制LED灯具的工作温度。(STM8S chip built-in ADC sampling NTC, through table lookup, interpolation to calculate the actual temperature, and then through the built-in PWM control LED brightness, thereby controlling the working temperature of LED lamps.)
    2018-11-08 16:42:54下载
    积分:1
  • MyTemplate
    实现了一个opengl的可视化图形模板,利用了splitWindow ,在MFC多文档模式下,可以对openGL图形做交互操作比如平移旋转缩放等(Realize a visualization opengl graphics templates, use of splitWindow, in MFC multi-document mode, can make interactive graphics openGL operation such as rotation scaling translation)
    2007-07-17 12:24:47下载
    积分:1
  • S60_Platform_Audio_Streaming_Example_v2_0_en
    S60_Platform_Audio_Streaming_Example 60平台下,音频流的播放实例。(S60_Platform_Audio_Streaming_Example 60 platform, audio broadcast of the flow examples.)
    2006-10-19 18:25:19下载
    积分:1
  • C++ primer 5 练习题
    第一章习题代码 C++实现 有什么错误还请大家指正 ex1_09.cpp
    2023-02-25 09:40:03下载
    积分:1
  • chapter26
    1 联合开发网 - pudn.com
    2016-04-27 11:49:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载