Arduinio FIO with XBEE and Funnel IO - Config


so. helping performance artist interface battons max.msp. have working great except funnel io configuration of nodes @ startup\power on.

currently have run , re-run processing server code - many times - before digital io configuration works. seems due firmata not getting told configure - or not being told @ right time - or similar.

funnel io closed source - cannot see code anywhere (not current version anyway).

we getting desperate - thing has travel chicago nyc. cannot move on finishing hardware fabrication until prototypes work!

has gotten configurations work correctly procession\fio\funnel io\ xbee ? unpredictable nature of problem (it takes random re-runs processing funnel io server configure nodes) maddening!

thank you! thank you! (in adavance)

the relevant code in processing:
code: [select]
// creates fio funnel object
fio fio;

pfont myfont;
// creates maxlink processing max/msp interconnection object "bouncer"
maxlink link = new maxlink(this, "bouncer");

void setup()
{  
 size(600,600);
 framerate(25);
 myfont = loadfont("couriernewpsmt-24.vlw");
 textfont(myfont, 24);
 int[] orbids = {1,2,3};

configuration config  = fio.firmata;
   config.setdigitalpinmode(4,fio.in);   // left glove in 1
   config.setdigitalpinmode(5,fio.in);   // left glove in 2
   config.setdigitalpinmode(6,fio.in);   // right glove in 1
   config.setdigitalpinmode(7,fio.in);   // right glove in 2
   config.setdigitalpinmode(8,fio.in);   // right glove in 3                    
   config.setdigitalpinmode(9,fio.pwm);  // red led out
   config.setdigitalpinmode(10,fio.pwm); // green led out
   config.setdigitalpinmode(11,fio.pwm); // blue led out  
   config.setdigitalpinmode(12,fio.in);  // left glove in 3  
fio = new fio(this,orbids,config);

it obscure question..

anyways: looking question in future: processing library seems have trouble initializing\configuring firmata. cannot tell if because of errors in compiled libraries, or other issues -but  0021 version throws few compiler errors.

our solution create flash interface required configuration .

the flash library far nicer processing one. stuck processing max/msp integration though. getting flash talk max/msp surprisingly difficult.


Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > Arduinio FIO with XBEE and Funnel IO - Config


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums