View: 2447|Reply: 4

ZIGBEE RGB应用的问题

[Copy link]

19

Threads

40

Replies

233

Credits

Credits
233
Posted on 2025-8-20 17:03:08 | Show all posts |Reading mode From 广东深圳
information
Notes:   建议参照本版块置顶帖内容输入必要信息
Chip model:
SDK & version:
8258的芯片,RGB应用, lookup table 什么意思?




#if defined(MCU_CORE_826x) || defined(MCU_CORE_8258) || defined(MCU_CORE_8278)
    //lookup table?
    return;




另外 pow是什么功能,找不到
r = (r <= 0.0031308f ? 12.92f * r : (1.055f) * pow(r, (1.0f / 2.4f)) - 0.055f);

微信图片_20250820161621_2.png

22

Threads

113

Replies

587

Credits

Credits
587
Posted on 2025-8-21 05:36:00 | Show all posts From 澳大利亚
"lookup table" - obviously Telink didn't create one so it doesn't do anything. You probably need a lookup table due to the maths needed to calculate, which TLSR8258 can't do. You could probably create a lookup table yourself.

pow() - is a standard C function that raises a number to the power of another number.
  1. pow(double base, double exponent);
Copy code

19

Threads

40

Replies

233

Credits

Credits
233
 Author| Posted on 2025-8-21 08:23:25 | Show all posts From 广东深圳
好的,只是8258如何解决这个问题?

22

Threads

113

Replies

587

Credits

Credits
587
Posted on 2025-8-21 14:06:20 | Show all posts From 澳大利亚
fff 发表于 2025-8-21 08:23
好的,只是8258如何解决这个问题?

I guess it doesn't solve it. Telink left it to you (developer) to work it out.

30

Threads

374

Replies

1196

Credits

Credits
1196
Posted on 2026-8-10 15:25:25 | Show all posts From 江苏

Credit rules for this forum

Follow our WeChat
Privacy Policy|Telink Developer Community

For copyright infringement reports, complaints or suggestions, please email forum@telink-semi.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.|沪ICP备17008231号-1 |沪公网安备31011502403548号

inThis forumPostBack to top