0
\$\begingroup\$

I have a standalone device with ATtiny85 MCU running Arduino firmware. In the firmware there are serial.println() functions that write its status to the serial port. Since it is a standalone device serial port is not connected to a system or to any other device. Will this affect the device in any way in the long run?

TIA

Regards, sri

\$\endgroup\$
2
  • \$\begingroup\$ Depending on which ATtiny core you use, Serial may be implemented as “software serial” or not at all, AFAIK. The ATtiny85 has no UART so there’s no real hardware serial available. It would probably be better to remove (or comment out) the Serial.println() statements. \$\endgroup\$
    – StarCat
    Aug 19, 2021 at 6:58
  • \$\begingroup\$ Better to remove all mentions of Serial if you're not using it, it will save space in flash. \$\endgroup\$
    – Mat
    Aug 19, 2021 at 8:38

1 Answer 1

2
\$\begingroup\$

No it has no effect other than spending time printing those status strings.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.