Skip to content

Commit

Permalink
changed visibility of constants and added library description for ard…
Browse files Browse the repository at this point in the history
…uino
  • Loading branch information
pkerspe committed Jul 4, 2020
1 parent 6bafea6 commit 5dff524
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name=ESP-FlexyStepper
version=1.1
author=Paul Kerspe
maintainer=Paul Kerspe
sentence=This library is used to control one or more stepper motors from an ESP32 or ESP8266 device
paragraph=This library is used to control one or more stepper motors from an ESP32 or ESP8266 device. It is based on the FlexyStepper library by S.Reifels but provides some additional functionality
category=Device Control
url=https://github.com/pkerspe/ESP-StepperMotor-Server
architectures=*
includes=ESP_FlexyStepper.h
depends=
6 changes: 3 additions & 3 deletions src/ESP_FlexyStepper.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ class ESP_FlexyStepper
void emergencyStop(bool holdUntilReleased = false);
void releaseEmergencyStop(void);

const byte LIMIT_SWITCH_BEGIN = -1;
const byte LIMIT_SWITCH_END = 1;
const byte LIMIT_SWITCH_COMBINED_BEGIN_AND_END = 2;
static const byte LIMIT_SWITCH_BEGIN = -1;
static const byte LIMIT_SWITCH_END = 1;
static const byte LIMIT_SWITCH_COMBINED_BEGIN_AND_END = 2;

private:
void DeterminePeriodOfNextStep();
Expand Down

0 comments on commit 5dff524

Please sign in to comment.