<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Solved the problem - has nothing to do with the PD object but only with the behaviour of the Arduino servo library:<div><br><i>"On boards other than the Mega, use of the library disables analogWrite() (PWM) functionality on pins 9 and 10, whether or not there is a Servo on those pins."</i><br><a href="http://arduino.cc/en/Reference/Servo">http://arduino.cc/en/Reference/Servo</a><br><br></div><div>Best,</div><div>Maciej<br><br>Am 30.04.2013 um 21:09 schrieb Maciej Sledziecki:<br><br><blockquote type="cite">Hello,<br><br>I´m running StandardFirmata 2.3. on Arduino Uno with PD extended 0.43.4 on MacBookPro / MacOSX 10.6.8.<br><br>What I´m trying to do, is to drive two pins (9 &amp; 10) in "pwm" mode and at least two others (5 &amp; 6) in "servo" mode.<br>The pwm works fine - but only until I set one of the other pins to servo -<br>then the diode that should be dimmed by pwm is either ON when receiving "analog 1" or OFF when receiving any other value.<br><br>The only way to get back to pwm again, is to close the arduino comport an reopen it again.<br><br>Is there a way to avoid this and to drive different pins in different modes at the same time?<br><br>Thanks and best,<br><br>Maciej<br><br><br><br><br><br><br>_______________________________________________<br><a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote><br></div></body></html>