Working, Clean
Fork of Movement by
Diff: Movement.cpp
- Revision:
- 1:03e2651b4a24
- Parent:
- 0:9c61094ffaac
- Child:
- 2:43a6498000e8
--- a/Movement.cpp Tue Oct 31 14:34:37 2017 +0000 +++ b/Movement.cpp Wed Nov 01 11:46:48 2017 +0000 @@ -20,7 +20,8 @@ direction[1]=-1; } else if(mode==3){ - //servo + direction[0]=0; + direction[1]=0; } else if(mode==4){ direction[0]=-1; @@ -31,7 +32,8 @@ direction[1]=1; } else if(mode==6){ - //servo + direction[0]=0; + direction[1]=0; } else{ //Error, unavailable mode