Skip to content

use Print::write(data, len) instead of Print::write(byte) in a for loop #9

Open
@hyansuper

Description

@hyansuper

since the Print class has a virtual method write(data, len), and some sub class like HardwareSerial has optimized block write method, we should use it instead of writing bytes one by one
same for write_string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions