forked from RoboCore/String_Functions
-
Notifications
You must be signed in to change notification settings - Fork 0
String functions for Arduino
License
SnappyDroid/String_Functions
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
RoboCore String Functions Library
(v1.5 - 18/09/2014)
Library to manipulate strings
(tested with Arduino 0022 and 1.0.1)
Copyright 2013 RoboCore (François) ( http://www.RoboCore.net )
------------------------------------------------------------------------------
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
------------------------------------------------------------------------------
NOTE: the library uses malloc() to create the strings and
the Pointer List in <Memory.h> is usedby default .
To use regular malloc(), undefine USE_POINTER_LIST
in <Memory.h>
NOTE: more functions (and alternative ones) can be found
in the <string.h> library
NOTE: SoftwareSerial is only available for Arduino 1.0.1+
OBS: char* str1 = "test";
//in .DATA section, DO NOT free (because will
add this address to the free_list)
char* str2 = (char*)malloc(10);
//in the HEAP, so CAN be freed
About
String functions for Arduino
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 76.6%
- C 23.4%