-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.txt
44 lines (28 loc) · 1.48 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
RoboCore String Functions Library
(v1.7 - 06/02/2018)
Library to manipulate strings.
Copyright 2017 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