What is right method to pass led info from processing to arduino

sure it does work,
just to get numbers up to 9999

ONE NUMBER