[PD] Pduino - error compiling firmware and analog inputs problem

Hans-Christoph Steiner hans at at.or.at
Wed Nov 4 15:47:11 CET 2009


Read the included README.txt for installation instructions.

.hc

On Nov 3, 2009, at 11:39 PM, Ignacio Viano wrote:

> Hello. I've just got an Seeeduino ATmega168 (100% compatible with  
> Arduino Duemilanove). [OS X Leopard, PD-extended 0.41.4].
>
> When trying to compile the firmware "StandardFirmata" (downloaded  
> from http://at.or.at/hans/pd/objects.html#pduino) I get this error:
>
>  In function 'void setPinModeCallback(byte, int)':
> error: 'FIRST_SERVO_PIN' was not declared in this scope In function  
> 'void analogWriteCallback(byte, int)':
>  In function 'void sysexCallback(byte, byte, byte*)':
>  In function 'boolean isServoSupportedPin(byte)':
>
>
> 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).
>
> This prints PD when I start comunication with Arduino:
>
> [comport] closed /dev/tty.Bluetooth-PDA-Sync
> get_baud_ratebits: 57600.000000
> set_baudrate baudbits: 57600
> [comport] opened serial line device 2 (/dev/tty.usbserial-A7004HQU)
>
>
> The baudrate seems to be fine.
>
>
> My questions are:
>
> ¿Which firmware should I use if I want all analog (pots) and digital  
> (buttons) inputs?
> ¿Any ideas about the error I get trying to compile "StandardFirmata"?
> ¿Any ideas about that extremely small data rate?
>
>
> Greets and thanks
> Ignacio
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


----------------------------------------------------------------------------

I hate it when they say, "He gave his life for his country."  Nobody  
gives their life for anything.  We steal the lives of these kids.  - 
Admiral Gene LeRocque

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20091104/bbc6d01d/attachment.htm>


More information about the Pd-list mailing list