Trasferimento seriale Arduino/Raspberry

Se usi il sistema di prima, forse dovresti usare

ser.write ('<34>')