Are there any other data types other than what is in the Processing documentation?
in
Programming Questions
•
1 year ago
Hi,
Are there any other datatypes that will work in Processing without adding a library etc.?
Is there a way to specify a type in Processing, similar to what there is in C, as in "uint8_t" or "uint16_t" ?
I keep having to invent work-arounds for clashing datatypes between Arduino and Processing. char isn't really working out very well as a numerical. I realize it is not meant to be a numerical type, so is there a 16 bit, unsigned type? Or even a 16 bit signed? I could also really, really use an 8 bit unsigned type as well, if that exists.
32 bits is overkill for what I'm doing, and I could cut the serial transfer time down a lot if I could work with smaller types.
Thanks
1