Commit 7a0b1ba
Add enumeration with pin values for digitalWrite etc (#28)
* Add enumeration with pin values for digitalWrite etc
* It is recommended not to use enum class if implicit cast to value is required. C++23 is said to provide a standard library helper, until then, for scoping, wrapping in a struct is recommended.
Co-authored-by: Bertrand Lemasle <[email protected]>1 parent af72278 commit 7a0b1ba
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
15 | 37 | | |
16 | 38 | | |
17 | 39 | | |
| |||
0 commit comments