I posted this in the abstract section of this forum, but since it deals with Arduino, I'm posting it here too.
Just made two absrtactions, [serial_parseInt] and [serial_println], that work with Arduino's corresponding functions.
Did this mostly cause most of the Arduino code one can find, uses Serial.println(), when it comes to serial communication.
Get the abstractions with their help patches, and a simple Arduino code that works with the help patches here https://github.com/alexandros301/Arduino_println_parseInt_to_from_Pd