a guest May 21st, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void serprintf(const char *format, ...) {
  2.   char sbuff[512];
  3.   memset(sbuff, 0, 512);
  4.   va_list args;
  5.   va_start(args, format);
  6.   vsnprintf(sbuff, 512, format, args);
  7.   va_end(args);
  8.   Serial.print(sbuff);
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand