batata004:
Thanks, but same error "the function sizeof" does not exist
I'm not too familiar with Processing, only Arduino, but thought it was worth a try. That's how it's done with C++. (John just forgot the braces.)
Perhaps the Processing forum is the place to ask?