adafruit / adafruit/Adafruit_BLE_PinIO
Pin mode change triggers incorrect pin values update
Open
- Dominant language
- C++
- Stars
- 23
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
Changing the mode of any non-PWM-capable pin causes Arduino to send an incorrect update for pin values. Seems like StandardFirmata is setting the stored pin values incorrectly after the mode change and then calling sendDigitalPort.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the StandardFirmata handling for mode changes on non-PWM-capable pins and the subsequent sendDigitalPort call. Reproduce the issue on Arduino, inspect the stored pin values before and after the mode change, and confirm that the sent digital update reflects the actual pin values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100