simple servo project help


hi all,

i put video describe i'm trying do.

http://www.youtube.com/watch?v=2knq0oglroy

basically need splitting these 2 lines of servos start @ same time, rather having wave transfer 1 other.

the code used simple:

#include <matrixnet.h>

matrixnet mymatrix;

unsigned char = 0;

void setup()
{
 mymatrix.begin();
}

void loop()
{

 for(i=0;i<64;i++) {
   mymatrix.changeservo(0, i, 200);
   delay(100);
 }


 for(i=0;i<64;i++) {
   mymatrix.changeservo(0, i, 25);
   delay(100);
 }
}

let me know . thanks!

take out 'delay's, , replace them better.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > simple servo project help


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