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> 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> In function 'void sysexCallback(byte, byte, byte*)':</i><br><i> 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>