[PD] Sending large number in comport

Charles Goyard cg at fsck.fr
Sat Sep 28 17:17:30 CEST 2013

Hi list,

I just hit a problem that I worked around easily, but want to have some
advice/better way/alternatives about.

I need to send commands in plain ascii to an appliance (an integrated
servo motor) via comport. Say: 

VT=1965093  (for target velocity)

By default, numbers over 100000 gets converted to scientific notation,
so this is what gets sent: 


Of course the motor ignores the message.

I added a [makefilename %d] before the [print VT=$1( message and it does
work well.

I was wondering if there's another way avoid scientific notation ?



More information about the Pd-list mailing list