arduino / arduino/ArduinoCore-API
add pin open-drian and push-pull mode
未关闭
- 主要语言
- C++
- 星标
- 306
- 派生
- 150
- PR 合并指标
- 30 天内没有已合并 PR
描述
https://github.com/arduino/ArduinoCore-API/blob/e1eb8de126786b7701b211332dda3f09aa400f35/api/Common.h#L18-L23
```
typedef enum {
INPUT = 0x0,
OUTPUT = 0x1,
INPUT_PULLUP = 0x2,
INPUT_PULLDOWN = 0x3,
OUPUT_PUSHPULL = 0x4,
OUPUT_OPENDRAIN = 0x5,
} PinMode;
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
从链接的 PinMode 枚举所在的 api/Common.h 开始,检查这些引脚模式在 ArduinoCore-API 中是如何表示的。在确认所请求的 open-drain 和 push-pull 模式及其命名之前,先检查相关的 API 声明或测试(如果存在);完成的标准是 API 一致地提供约定的模式。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- api, embedded-iot
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100