Hi,
I'm trying to send sensor values from an MPR121 to pd with a custom render.cpp file.
I used to do this using heavy but I would like to check out the performance with libpd.
My message with heavy looked like this:
hv_vscheduleMessageForReceiver(gHeavyContext, "sensorValues", 0, "fff", (float)0, (float)i, (float)sensorValue);
where the first float is the board number (for reading 4 boards at a time), the second float is the electrode number and the third float is the actual value.
By using:
libpd_float("sensorValue", (float)sensorValue);
I get 12 lines with a line for every electrode.
My question is: Is there a way to send a string made up of three floats to pd?
Thanks