Fix motor turn rate

This commit is contained in:
Alexandertp 2023-12-20 16:43:56 +01:00
parent ea508bebc8
commit 077f7d7552

View File

@ -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)