Firmata (Pduino) firmware won't compile... bug?

hey!

i downloaded the last version of pduino (http://at.or.at/hans/pd/Pduino-0.3.zip) and want to use it with that corresponding processinglibrary out there (Arduino Playground - HomePage) but arduino 008 won't compile the pd_firmware.pde which comes with pduino.

[color=#ff0000]In function 'void checkDigitalInputs()':
error: 'port_to_input' was not declared in this scope[/color]

i tried to fix the problem myself and added a line of byte port_to_input[2];
now it's possible to compile the firmware and upload it to the arduinoboard. controlling outputs and the analog inputs are working, but i can't interface any digital inputs...
can someone of you give me a hint how to fix the (propably) broken pd_firmware correctly, so that the digital inputs are working as well?

thanks in advance and thanks alot for that already fantastic piece of code, that makes it so easy to interface the arduino!

bye,
hanspeter

//EDIT:
its working now ... when i compile it with arduino 007 ...

i tried to compile under 008-alpha and got the same error.

'port_to_input' was not declared in this scope

007 version works still works.

There were a few changes in the Arduino internals between 0007 and 0008 that broke firmata. I think Hans has updated it to work with the 0008 core; the latest source is at: http://at.or.at/hans/pd/objects.html.

ok, i had a old version

Hi,

I have been trying to get the latest version, but it seems that at.or.at has been down for a week or more...

If you know any alternative download sites, could you please let me know?

Best,
Shigeru

i uploaded it to rapidshare.
http://rapidshare.com/files/50124713/Pduino-0.3.1.zip.html
enjoy

Thanks, I jut got it. :wink:

Best,
Shigeru

:frowning: I have maxuino-003.2 (from the website with the bruschetta) and get the same compile error in 0008 Alpha.

I am very interested in this and hope to maybe make it into an OSC interface.

as mentioned before do not use the arduino firemware from the maxuino package.
until Hans's site will be back online, u can use the firmware mirror on rapidshare

Ah, ok. Just to clarify for others - download the maxuino package to get the max patches, but then download the pduino package and use the pd_firmware from there.