Inputs in arduino

jtrochez's icon

Hi, im working with a Arduino 2560 Mega with the arduino standard firmata.

I need all of the digital pins working as input, i use the maxuino template that allow me to use 13 input, but i cant figure out how to enable more.

I upload here the template that im using.

Many Thanks
Joel Trochez

4062.arduinotest.maxpat
Max Patch
bart at max (previously BITter)'s icon

Duplicate and adapt all objects needed for the inputs? Don't forget to duplicate the messages too.

bart at max (previously BITter)'s icon

goto: http://www.maxuino.org/downloads
download: Maxuino v.009 – the latest release
open: the patch
open: maxuino-gui (sub)patch

Their you will see 54 digital input/outputs like you see in the attachment.

Thanks to the maxuino people.

4066.Maxuinov009maxuinogui.png
png
jtrochez's icon

man, im trying to update my arduino with the new firmata, so i can use this patch, but when i try to upload the firmata, says :
'TOTAL_PINS' was not declared in this scope

i dont know, im using the arduino 1.0.1, i put the firmata in the libraries folder, and now when i try to upload it to the arduino, it gives me that error, what that can be?