How i mean how to make it right?
Don't you know how big you made the array?
Hint:
char my_buffer[256];
You need to tell toCharArray() how big that buffer is.
line.toCharArray(my_buffer, 256);
How i mean how to make it right?
Don't you know how big you made the array?
Hint:
char my_buffer[256];
You need to tell toCharArray() how big that buffer is.
line.toCharArray(my_buffer, 256);