Skip to main content
deleted 3 characters in body
Source Link
varnit
  • 111
  • 4

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

char data[5];
for(int i=0;i <5 ;i++)
{
 data[i]=Serial.read();
}
char data1=data[0];
char data2=data[1];

an so on and so forth ..

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

char data[5];
for(int i=0;i <5 ;i++)
{
 data[i]=Serial.read();
}
char data1=data[0];
char data2=data[1];

an so on and so forth ..

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

char data[5];
for(int i=0;i <5 ;i++)
{
 data[i]=Serial.read();
}
char data1=data[0];
char data2=data[1];

so on and so forth ..

added 27 characters in body
Source Link
varnit
  • 111
  • 4

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

char *data;data[5];
data=Serial.readstringuntilfor('h'int i=0;i <5 ;i++);
char *data2;{
data=Serial data[i]=Serial.readstringuntilread('l');
}
char data1=data[0];
char data2=data[1];

an so on and so forth ..

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

char *data;
data=Serial.readstringuntil('h');
char *data2;
data=Serial.readstringuntil('l');

an so on and so forth ..

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

char data[5];
for(int i=0;i <5 ;i++)
{
 data[i]=Serial.read();
}
char data1=data[0];
char data2=data[1];

an so on and so forth ..

added 79 characters in body
Source Link
varnit
  • 111
  • 4

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

> char *data;
data=Serial.readreadstringuntil('h');
Serialchar *data2;
data=Serial.printlnreadstringuntil(data'l');

an so on and so forth ..

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

> char *data;
data=Serial.read();
Serial.println(data);

String are the not the recommended way to use with Arduino although try using single parameter instead of two like substring(1) and let me know

char *data;
data=Serial.readstringuntil('h');
char *data2;
data=Serial.readstringuntil('l');

an so on and so forth ..

added 18 characters in body
Source Link
varnit
  • 111
  • 4
Loading
added 72 characters in body; deleted 1 character in body; added 1 character in body; added 1 character in body; deleted 15 characters in body
Source Link
varnit
  • 111
  • 4
Loading
Source Link
varnit
  • 111
  • 4
Loading