294 Star 1.6K Fork 388

GVP合宙Luat / LuatOS

 / 详情

[🐛Bug]: ESP32-C3 gpio直驱WS2812 颜色亮度异常,数量是对的

待办的
创建于  
2023-09-25 11:25

描述一下这个bug / Describe the bug

ESP32-C3 gpio直驱WS2812 颜色亮度异常,数量是对的

复现步骤 / To Reproduce

local buff = zbuff.create({1,7,24})
buff:setFrameBuffer(1,7,24,0xff0000)
sys.taskInit(function()
while( true )do
sensor.ws2812b(0,buff,0,10,10,0)
sys.wait(2000)
end
end)

如果正常,应该是什么样 / Expected behavior

颜色和亮度显示正常

截图 / Screenshots

输入图片说明

日志 / Logs

日志正常

PACK包版本 / Version

core_V1005

验证

  • 检查过该问题,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 提供了最小可复现工程或详细的复现步骤,确保开发者可以复现 / The provided reproduction is a minimal reproducible example of the bug.
  • 已经提供了完整的报错信息、日志、截图,没有经过删减。

评论 (7)

高清鹏 创建了任务

大佬,有进展了么

还没有

大佬,有计划了么

再等等吧,最近忙着其他模块

大佬 :joy:

我的2812用着也有问题,貌似2812的电平长度每家都不一样,目前sensor库的gpio直驱,没法用在我这个2812上,颜色一会正常一会错误。
示波器看,占空比调对后,一个码型的时间太长,超出了上限

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
4674 wendal 1578914274 3030390 chengyu2526 1578973377
Lua
1
https://gitee.com/openLuat/LuatOS.git
git@gitee.com:openLuat/LuatOS.git
openLuat
LuatOS
LuatOS

搜索帮助

344bd9b3 5694891 D2dac590 5694891