I've set up my processing variables as follows;
on MBED
float myValue;
RPCVariable<float> rpcMyValue(&myValueP, "myValue");
In Processing;
myValueP = new RPCVariable<Float>(mbed, "myValue");
myValueP.write(floatValue);
I'm using a button to send the new float value to the float on the MBED, but everytime I do so, it freezes the sketch. There is nothing wrong with the button (it doesnt freeze without the RPC)
Am I missing something specific to Processing? If this is all in order, then I'm going to assume there is something amiss in my code.
edit;
I dont know how to use the print function either when serialRPC is running.
I've set up my processing variables as follows; on MBED
float myValue;
RPCVariable<float> rpcMyValue(&myValueP, "myValue");
In Processing;
myValueP = new RPCVariable<Float>(mbed, "myValue");
myValueP.write(floatValue);
I'm using a button to send the new float value to the float on the MBED, but everytime I do so, it freezes the sketch. There is nothing wrong with the button (it doesnt freeze without the RPC)
Am I missing something specific to Processing? If this is all in order, then I'm going to assume there is something amiss in my code.
edit; I dont know how to use the print function either when serialRPC is running.