arduino-examples icon indicating copy to clipboard operation
arduino-examples copied to clipboard

Expand String examples with explicit size concat and constructor

Open per1234 opened this issue 4 years ago • 1 comments

Moved from https://github.com/arduino/Arduino/pull/9239 by @matthijskooijman

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.

These APIs are added to ArduinoCore-API in https://github.com/arduino/ArduinoCore-API/pull/97. Before merging these examples, the version check must be updated to the first API version that includes these new APIs.

per1234 avatar Sep 26 '20 02:09 per1234

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 09 '21 16:04 CLAassistant