arduino / arduino/ArduinoCore-API

[Feature request] Add to Serial.write() the hability of sending byte structs

Open
#56 4 comments 0 reactions 1 assignee Claimed by @cmaglie View on GitHub
Dominant language
C++
Stars
306
Forks
150
PR merge metrics
No merged PRs in 30d

Description

I mean...Serial.write() has already the hability of sending byte arrays in the form Serial.write(myarray, sizeof(myarray));. Why not doing the same with structs like struct { byte x; byte y;} mystruct; ??
Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.