登录
首页 » c » W2812B

W2812B

于 2023-08-04 发布 文件大小:4.96 kB
0 92
下载积分: 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 个回复

  • handDiscreteTest
    基于openCV2的视频中人的手势识别,主要根据人皮肤颜色确定。(OpenCV2 video the human gesture recognition, is mainly based on the person' s skin color.)
    2012-07-12 17:26:25下载
    积分:1
  • clock
    三星S3C2440板子中配置时钟的程序,ARM ADS开发工具,初学的时候很实用。(Samsung S3C2440 board configured clock procedures, ARM ADS development tools, a novice when it is practical.)
    2013-10-23 21:41:21下载
    积分:1
  • Cuk_Converter
    solar mppt algorithms fransferor finfind mamimum power t
    2011-10-16 18:18:52下载
    积分:1
  • VCprogramjisuanqi
    mfc环境下写的科学计算器,代码可以直接运行。(mfc environment written in scientific calculator, the code can run.)
    2010-05-06 23:40:00下载
    积分:1
  • 51智能循迹小车
    运用51单片机和红外设计的智能循迹小车,代码是c语言,L292n电机驱动模块(Intelligent Track Car Designed by 51 Single Chip Microcomputer and Infrared)
    2020-06-22 18:40:01下载
    积分:1
  • 详细介绍了用Delphi实现网络数据采集原理。
    详细介绍了用Delphi实现网络数据采集的原理及开发过程!-Described in detail with the Delphi to achieve the principle of network data collection and the development process!
    2022-06-13 18:30:29下载
    积分:1
  • 开源的问题跟踪系统
    相当灵活,便于制定。应用于多种情形:bug跟踪啦,客户关系管理,CRM,论坛,等等只要是需要对一些问题进行跟踪的应用都可以用他。
    2023-06-28 22:15:07下载
    积分:1
  • PD4
    12864液晶显示,采串并形都有 for msp430 x芯片驱动代码 画图都有十分方便使用 。 12864LCD属于点阵图形液晶显示模块,不但能显示字符,还能显示汉字和图形,分带汉字库和不带那字库两种,价格也有差别。(12864 LCD belongs to dot matrix graphics LCD display module. It can display not only characters, but also Chinese characters and graphics. There are two kinds of Chinese character library and non-Chinese character library, and the price is also different. The 12864LCD with Chinese character library is very convenient to use. It does not need to write complex Chinese character display program. As long as two bytes of Chinese character machine code are written in time sequence, Chinese characters can be displayed. The driver is much simpler.)
    2020-06-20 08:20:02下载
    积分:1
  • cximage600_full_VC6
    CxImage是一款免费的、开源的、功能强大的图形处理库。 跨平台,支持windows、linux等;支持BMP、GIF、ICO、TGA、JPEG、PCX、PNG、TIFF、MNG、RAS等多种图像格式;支持格式转换、图像处理、几何变换等;最重要的是使用非常简单。此为VC6修正版(CxImage is a C++ image processing library. It can load, save, display, transform images in a very simple and fast way, with transparency, multiple layers and selections, support for BMP GIF JPG PNG MNG TIF ICO TGA PCX J2K JBG RAS PNM RAW PSD.)
    2020-06-17 23:20:01下载
    积分:1
  • STM32读取sram的完美代码
          主程序实现功能: 本例程使用GPIO模拟I2C时序实现串行EEPROM的读写,并测试读写速度。 核心文件为: bsp_i2c_gpio.c/.h : I2C底层协议的实现代码(所有的I2C器件均可用) bsp_eeprom_24xx.c/.h : 24XX串行EEPROM的驱动程序 demo_i2c_eeprom.c/.h : 演示EEPROM读写的主程序 修改SCL时钟频率的方法:修改bsp_i2c_gpio.c中的函数 static void i2c_Delay(void)
    2022-07-17 09:13:04下载
    积分:1
  • 696516资源总数
  • 106474会员总数
  • 2今日下载