File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ SAMD CORE 1.6.6
6
6
* On-board RX-TX LEDs now blinks when there is activity on the native USB port
7
7
* Fixed platform.txt, the core now compiles again with Arduino IDE <=1.6.5. Thanks @per1234
8
8
* Fixed Wire.write(0x00) "ambiguos method" error
9
+ * String class now supports iterators. Thanks @Chris--A
9
10
10
11
SAMD CORE 1.6.5 2016.04.02
11
12
Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ class String
161
161
void toCharArray (char *buf, unsigned int bufsize, unsigned int index=0 ) const
162
162
{getBytes ((unsigned char *)buf, bufsize, index);}
163
163
const char * c_str () const { return buffer; }
164
+ const char * begin () { return c_str (); }
165
+ const char * end () { return c_str () + length (); }
164
166
165
167
// search
166
168
int indexOf ( char ch ) const ;
You can’t perform that action at this time.
0 commit comments