arduino / arduino/ArduinoCore-API
add pin open-drian and push-pull mode
- Dominant language
- C++
- Stars
- 306
- Forks
- 150
- PR merge metrics
- No merged PRs in 30d
Description
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;
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with api/Common.h at the linked PinMode enum and review how these pin modes are represented in the ArduinoCore-API. Check related API declarations or tests, if present, before confirming the requested open-drain and push-pull modes and their naming; done means the API exposes the agreed modes consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, embedded-iot
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100