transform a ArrayBuffer to an array #5859
Replies: 1 comment
-
Posted at 2018-01-25 by @gfwilliams The issue is that you're using 1 bit per pixel, so 8 bits are in each byte - and you're trying to retrieve bytes. If you used:
Then I'm pretty sure that'll work fine. I'm not sure what you're planning but you may find you don't want the Posted at 2018-01-25 by Mrbbp Hye, Gordon in your example it is suppose to do that (it's exactly what i need to transfer to my display via serial):
it does not... why? Posted at 2018-01-25 by @gfwilliams
I added And the output is different because the default font has changed. Posted at 2018-01-26 by Mrbbp Hello, Regards Posted at 2018-01-26 by @gfwilliams Ahh - try Posted at 2018-01-26 by Mrbbp yes, great the use of println()... there is a final CR, easy to detect to call the refresh display function. é. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-01-24 by Mrbbp
Hello,
i'm trying to work with arrayBuffer but i'm bad...
I'm using exemple in the graphics library at Internal Use
when i use the
g.print()
it does not produce an array of 0 and 1...but that...
i would like to send via Serial an array of row and colum as in the exemple of
print()
thanks for you help
Beta Was this translation helpful? Give feedback.
All reactions