You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
195B

  1. #include "Arduino.h"
  2. #include "IPAddress.h"
  3. size_t IPAddress::printTo(Print& p) const
  4. {
  5. int i=0;
  6. while (1) {
  7. p.print(_address.bytes[i], DEC);
  8. if (++i >= 4) return 4;
  9. p.write('.');
  10. }
  11. }