-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit 960fcd3
committed
Expand String examples with explicit size concat and constructor
This expands examples to show the newly added APIs:
String::concat(const char *, unsigned int)
String::String(const char *, unsigned int)
Since not all cores versions will support this right away, a version
check is added against ARDUINO_CORE_API.1 parent c33a3e9 commit 960fcd3
File tree
2 files changed
+32
-0
lines changed2 files changed
+32
-0
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
70 | 87 |
| |
71 | 88 |
| |
72 | 89 |
|
Lines changed: 15 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
77 | 92 |
| |
78 | 93 |
| |
79 | 94 |
| |
|
0 commit comments