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
http://arduino.cc/en/reference/array
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Arrays
arduino
Comments
Post a Comment