Arduino + Processing Serial Port DATA TRANSFER

as you not follow my recommendation of
using a dataline CSV style
from arduino to Processing via USB

you must find your own way to use the string line you send.


you could try to separate the lux data line
in 'lux: ’ and ‘number’
try convert the number string part to float …