Hello all,
This is my first post to any of the PD lists, so I'll introduce myself a little. I'm a student at the national school of fine arts in Paris. My main interest is in new media. A fellow student introduced me to pure-data. I thought it could be used as a great real time motion control system. So I build a little circuit that contols 32 RC servos through TCP/IP (works really fine) and started to code a PD object that could interface with that circuit. Basically, this object works. I can connect to the circuit and move any of the 32 servos. But to move a servo, I have to send to the object's hot inlet a [go servo_number servo_angle] message. I thought I could use pack to build such a message but I get a: error: servo: no method for 'list' I tried to play a little with class_addmethod, inlet_new and floatinlet_new but to no avail. Can anyone give me a hint to inlet configuration or point me to a good tutorial. I'll attach my code and an example (though it won't work without the circuit). This object is designed for Mac OS X. I think it should also compile on any UNIX system.
Thanks, Julien