code qualityfeature requestgood first issue
仓库指标
- 星标
- (37 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Motivation:
A PinIdOrName enum was introduced to simplify the use of digital and analog pins (e.g., "D11", "A11").
To make the API more ergonomic and consistent, this enum should be accepted in all constructors that require a pin, including device drivers and expanders.
API Change:
No breaking change. This is a backward-compatible improvement via the Into<PinIdOrName> trait, enabling seamless use of both u8 and String literals.