Skip to content

Can ArrayBuffer data be sent? #58

Description

@owenmcateer

Hello,
First of all, I'm loving the library it's amazing!

I'm not sure if this is a question or a feature request. I want to be able to send an ArrayBuffer of pixel data over serial to an LED matrix connected vai an Arduino.

I've created this sketch and Arduino code but just can't get the ArrayBuffer data to be received and/or processed correctly.
P5 sketch: https://editor.p5js.org/owenmcateer/sketches/mY4FOIUZ
I've left some comments in the sketch to explain whats going on.
Arduino code: https://gist.github.com/owenmcateer/1151febe57b7bd971255cfef2f0a2e06
(I have tested and confirmed this Arduino code to be working using glediator(a led display animation program that is sent over serial connection, glediator uses an end line market of \1))

Any help to point me in the right direction would be great. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions