send serial only when active?

and to cover all the bases, I’m selfishly asking here too. I’m in the process of optimizing a Max/Arduino tool which features 18 FSRs and 18 LEDs, kind of a DIY QuNeo/Monome thing. My simple question is this: how can I ensure that the Arduino is sending serial data only when the sensors are active, >0., or changing. Is it simply a matter of:

if (myVar>0.){
Serial.write(myVar);
}
else{
//do nothing
}

I’ll go off and have a wee noodle with my code now anyway and see what happens,
Cheers