ws2812: PIO on the rp2040 breaks `WriteByte` method

オープン
#886 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
32/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
embedded-iot

調査の方向性

Start with the WS2812 driver as changed by PR 851, and find where it now routes writes through the PIO driver on the RP2040 and where WriteByte is affected. The issue proposes either a separate NewPIOWS2812 constructor or keeping bit-banging as the default, so first settle which behaviour maintainers want, since that decision is still open. Done means WriteByte works on the RP2040 again and the chosen constructor or default is documented and tested on hardware.

索引モデルが issue の本文から書いたものです。

説明

https://github.com/tinygo-org/drivers/pull/851 (@gandarez) changed the WS2812 driver to transparently use the PIO driver. Unfortunately, this doesn't work with the WriteByte method that I'm using: it breaks this usage.

My suggestion would be to not switch to PIO transparently but instead have a separate constructor (NewPIOWS2812 perhaps?) that explicitly uses PIO instead of bitbanging.

主要言語
Go
スター
756
フォーク
251
平均マージ
7日 12時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tinygo-org/drivers のほかの issue

tinygo-org/drivers の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。