Initial motor test

This commit is contained in:
shrkey
2016-10-09 22:15:36 +01:00
parent 676a333ef6
commit 08f2af0df6
3 changed files with 105 additions and 11 deletions

View File

@@ -27,6 +27,14 @@ int main()
DW640 dw;
dw.initialize();
dw.setMotorOff( 1 );
dw.setMotorSpeed( 1, 200 );
sleep(5);
dw.setMotorOff( 1 );
sleep(5);
dw.setMotorSpeed( 1, -200 );
sleep(5);
dw.setMotorOff( 1 );
}