'for' looping problem

Works with the Arduino IDE serial monitor, now I just have to figure out how to format the message in Max/MSP. Thank you for all your help!