Bætti við interrupt (pin D2) til að skoða encoder lestur, umb fyrir Part 1 í verkefni
This commit is contained in:
@@ -14,7 +14,7 @@ class State;
|
||||
class MotorController
|
||||
{
|
||||
private:
|
||||
static constexpr double DEFAULT_REFERENCE_RPM = 40.0;
|
||||
static constexpr double DEFAULT_REFERENCE_RPM = -40.0;
|
||||
static constexpr double PWM_PER_PERCENT = 255.0 / 100.0;
|
||||
//static const uint8_t LED_PIN = 5; // PB5 = D13 = LED_BUILTIN
|
||||
static constexpr uint8_t LED_PIN = Digital_out::STATUS_LED;
|
||||
|
||||
Reference in New Issue
Block a user