Fix motor turn rate
This commit is contained in:
parent
ea508bebc8
commit
077f7d7552
@ -17,7 +17,7 @@ int motor_pin4 = 11; // Orange - 28BYJ48 pin 4
|
|||||||
// Motor variables
|
// Motor variables
|
||||||
int motor_speed = 1200;
|
int motor_speed = 1200;
|
||||||
int motor_count = 0;
|
int motor_count = 0;
|
||||||
int motor_count_max = 256;
|
int motor_count_max = 64;
|
||||||
int motor_lookup[8] = {B01000, B01100, B00100, B00110, B00010, B00011, B00001, B01001};
|
int motor_lookup[8] = {B01000, B01100, B00100, B00110, B00010, B00011, B00001, B01001};
|
||||||
|
|
||||||
void setup(void)
|
void setup(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user