Arrays


so want put of these methods (not sure if right term) in array can access them in loop.  here have tried...  any appreciated.

code: [select]
wiichuck chuck = wiichuck();
wiichuck (i've tried chuck here well) command[6] = chuck.readroll(), chuck.readpitch(), chuck.readaccelx(), chuck.readaccely(), chuck.readaccelz();

for(int = 0; < 6; i++){
  if(command[i] < 10){
     do something
  }
}

interesting idea won't work. can store variables , text.

http://arduino.cc/en/reference/array


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Arrays


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