Skip to main content
added 101 characters in body
Source Link
RSM
  • 1.5k
  • 1
  • 11
  • 27

by the looks of it you need to close the brackets of the sprintf() statement shown below if you had copied the code from Ariser:

  sprintf(gl_senstr1, "%d", digitalRead(6);
  sprintf(gl_senstr2, "%d", digitalRead(7);
  

replace it with:

   sprintf(gl_senstr1, "%d", digitalRead(6));
   sprintf(gl_senstr2, "%d", digitalRead(7));

That is probably the error you are seeing ;because of sprintf() not seeing a close to its statement ;)

by the looks of it you need to close the brackets of the sprintf() statement shown below

  sprintf(gl_senstr1, "%d", digitalRead(6);
  sprintf(gl_senstr2, "%d", digitalRead(7);

replace with:

   sprintf(gl_senstr1, "%d", digitalRead(6));
   sprintf(gl_senstr2, "%d", digitalRead(7));

That is probably the error you are seeing ;)

by the looks of it you need to close the brackets of the sprintf() statement shown below if you had copied the code from Ariser:

sprintf(gl_senstr1, "%d", digitalRead(6);
sprintf(gl_senstr2, "%d", digitalRead(7);
  

replace it with:

sprintf(gl_senstr1, "%d", digitalRead(6));
sprintf(gl_senstr2, "%d", digitalRead(7));

That is the error you are seeing because of sprintf() not seeing a close to its statement ;)

Source Link
RSM
  • 1.5k
  • 1
  • 11
  • 27

by the looks of it you need to close the brackets of the sprintf() statement shown below

  sprintf(gl_senstr1, "%d", digitalRead(6);
  sprintf(gl_senstr2, "%d", digitalRead(7);

replace with:

   sprintf(gl_senstr1, "%d", digitalRead(6));
   sprintf(gl_senstr2, "%d", digitalRead(7));

That is probably the error you are seeing ;)