Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Low priority: equalise the grid's LED brightness per channel, measured on a built board

未关闭
#11 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
arduino, cpp, python
领域
embedded-iot

调研方向

Start by reading NW-Status/QUEUE.md, item 6 of "Okapi LED work, ordered", then the PCA9634 driver's wake-up path. The issue depends on a built board and a completed driver, so first confirm both exist; then photograph or meter each cell at full brightness and compute eight scaling factors. Done when those constants are written once at driver wake-up and the measurement method is recorded.

由索引模型根据 Issue 内容生成。

描述

enhancement

Equalise the brightness of the eight LEDs on the grid, so a lit green cell and a lit red cell read as equally lit. Low priority: it waits until a board exists and the required Okapi work is done.

Why it will be needed. Each LED has its anode through 220 Ω to 3V3_CORE (R53, R60, R64, R76–R80) and its cathode on a PCA9634 output. Green's forward voltage is about a volt above red's, so at the same register value the green cells pass roughly a third of the current the red ones do, and the three colours also differ in luminous efficacy. Uncorrected, "one cell per column" will look like two bright cells and a dim one. Which LED parts were fitted is itself unverified: the BoM predates the array.

How, once a board exists. The PCA9634 has an 8-bit brightness register per channel (PWM0–PWM7, 97 kHz, no visible flicker). In a dark room, light one cell at a time at full and photograph the array with a phone at fixed exposure; read each cell's brightness from the image (a few lines of Python over the grey values), or use a lux meter at a fixed distance; scale every channel down to match the dimmest; store the eight factors as constants and write them once in the driver's wake-up. The same measurement tells whether 220 Ω is the right value for the next board.

Depends on the PCA9634 driver (NW-Status/QUEUE.md, "Okapi LED work, ordered", item 6) and a built board.

🤖 Generated with Claude Code

https://claude.ai/code/session_01BazaY6meA6yMRDeuUsv1Wd

主要语言
C++
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NorthernWidget/Okapi_Library 的其他 Issue

查看 NorthernWidget/Okapi_Library 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。