<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Read the included README.txt for installation instructions.</div><div><br></div><div>.hc</div><br><div><div>On Nov 3, 2009, at 11:39 PM, Ignacio Viano wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello. I've just got an Seeeduino ATmega168 (100% compatible with Arduino Duemilanove). [OS X Leopard, PD-extended 0.41.4].<br><br>When trying to compile the firmware "StandardFirmata" (downloaded from <a href="http://at.or.at/hans/pd/objects.html#pduino">http://at.or.at/hans/pd/objects.html#pduino</a>) I get this error:<br> <br><div style="margin-left: 40px;"><i>&nbsp;In function 'void setPinModeCallback(byte, int)':</i><br><i>error: 'FIRST_SERVO_PIN' was not declared in this scope In function 'void analogWriteCallback(byte, int)':</i><br> <i>&nbsp;In function 'void sysexCallback(byte, byte, byte*)':</i><br><i>&nbsp;In function 'boolean isServoSupportedPin(byte)':</i><br></div><br><br>After that I compiled "SimpleAnalogFirmata" succesfuly but, when testing the comunication with PD I noticed that the Analog-In-Values were being updated at a very small rate (2 or 3 times a second).<br> <br>This prints PD when I start comunication with Arduino:<br><br><div style="margin-left: 40px;"><i>[comport] closed /dev/tty.Bluetooth-PDA-Sync</i><br><i>get_baud_ratebits: 57600.000000</i><br><i>set_baudrate baudbits: 57600</i><br> <i>[comport] opened serial line device 2 (/dev/tty.usbserial-A7004HQU)</i><br></div><br><br>The baudrate seems to be fine.<br><br><br>My questions are:<br><br>¿Which firmware should I use if I want all analog (pots) and digital (buttons) inputs?<br> ¿Any ideas about the error I get trying to compile "StandardFirmata"?<br>¿Any ideas about that extremely small data rate?<br><br><br>Greets and thanks<br>Ignacio<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></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div><br class="Apple-interchange-newline">----------------------------------------------------------------------------<br></div><div><br></div>I hate it when they say, "He gave his life for his country." &nbsp;Nobody&nbsp;gives their life for anything. &nbsp;We steal the lives of these kids. &nbsp;-Admiral Gene LeRocque<br></span></div></span> </div><br></body></html>