Hello,
I'm starting coding objects and I'd like to know if it is possible updating an int32.hradio parameter with the value received from an int32 inlet during the execution of the K-rate code.
Like the following code (I'm just thinking if it is feasible, because I cannot test it on board):
if (prev != inlet_i1) {
prev = inlet_i1;
param_radio = inlet_i1;
}
prev is defined as local data as:
int32_t prev = -1;
Thanks in advance,
Daniele