[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 ...
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.
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.