readGPIOs function
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- embedded-iot, python
- 領域
- api, embedded-iot
調査の方向性
The question is how to get the value returned by readGPIOs(id, mask) in the remote_hardware.py module, which is called after watchGPIOs and writeGPIOs in the snippet. Read those three methods and the response handling around them to see how the GPIO value reaches the caller. Done means the usage is confirmed against the code and a documentation or example change explains how to retrieve the value.
索引モデルが issue の本文から書いたものです。
説明
Not sure if this should be an issue. I'm trying to get a value back from the readGPIOs(id, mask) function in the remote_hardware.py module. I'm not sure if I'm using it correctly.
iface = MagicMock(autospec=SerialInterface)
rhw = RemoteHardwareClient(iface)
rhc = remote_hardware.RemoteHardwareClient(interface)
destination_node_id = 1128161828
bitmask = 16
value = 1
rhw.watchGPIOs(destination_node_id, bitmask)
rhw.writeGPIOs(destination_node_id, bitmask, value)
rhw.readGPIOs(destination_node_id,bitmask,True)
How do I get the gpio_value from the read function?
Or should I be doing this some other way?
- 主要言語
- Python
- スター
- 855
- フォーク
- 355
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
meshtastic/python のほかの issue
-
BLE: node unreachable on Linux after pairing — bluez auto-reconnect holds the single connectionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
meshtastic/python#972 ·
メンテナーはふだん 1 日以内に返信
-
Bug: Can't run on Termux対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
meshtastic/python#969 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
meshtastic/python#506 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
meshtastic/python#985 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Undocumented `--set` choices対応中かも @Cryptoteep が 54 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
meshtastic/python#978 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
meshtastic/python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pimutils/vdirsyncer#1242 ·
-
backlog
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sagemathinc/sagebrush#2768 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vllm-project/vllm-ascend#23791 ·
メンテナーはふだん 1 日以内に返信
-
priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
QuantConnect/lean-cli#792 ·
メンテナーはふだん 1 日以内に返信