Commit f3333b8
committed
fix: route PinName digitalWrite int values correctly
Add the PinName overload matching ArduinoCore-API's int compatibility wrapper so calls such as digitalWrite(PC_2, false) keep the PinName argument path instead of converting PC_2 to an Arduino pin index.
Fixes #1107
Generated-by: OpenAI Codex
Signed-off-by: aineoae86-sys <ai.neo.ae86@gmail.com>1 parent b4ad4e7 commit f3333b8
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
0 commit comments