Hi All
I am very new to Pure Data and Arduino so please excuse my simple questions but any help would be greatly appreciated.
I have a stretch sensor plugged into the analog inputs of the Arduino that decreases it's resistance when it is stretched.
What I need to do is invert the sensor value so instead of having a reducing number when I stretch the sensor the value is increased.
I know how to write this in as3 or processing with a formula like (sensorValue = MaxValue-sensorValue) but I cannot work out how to do this in PD.
The maximum value, when the sensor is not stretched, is 66 and reduces down to 33 when stretched
Any ideas.
Much appreciated.
Sean