mirror of
https://github.com/okalachev/flix.git
synced 2025-07-29 20:38:59 +00:00
Increase pwm frequency and resolution
This commit is contained in:
parent
07c5ae19dd
commit
32c4875ca1
@ -12,8 +12,8 @@
|
|||||||
#define MOTOR_2_PIN 14 // front right
|
#define MOTOR_2_PIN 14 // front right
|
||||||
#define MOTOR_3_PIN 15 // front left
|
#define MOTOR_3_PIN 15 // front left
|
||||||
|
|
||||||
#define PWM_FREQUENCY 500
|
#define PWM_FREQUENCY 1000
|
||||||
#define PWM_RESOLUTION 8
|
#define PWM_RESOLUTION 12
|
||||||
|
|
||||||
// Motors array indexes:
|
// Motors array indexes:
|
||||||
const int MOTOR_REAR_LEFT = 0;
|
const int MOTOR_REAR_LEFT = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user