Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can ArrayBuffer data be sent? #58

Open
owenmcateer opened this issue Mar 7, 2020 · 0 comments
Open

Can ArrayBuffer data be sent? #58

owenmcateer opened this issue Mar 7, 2020 · 0 comments

Comments

@owenmcateer
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant