From 6b72093cfd0bc30732e52961e2e2ebd97204fe42 Mon Sep 17 00:00:00 2001 From: mrcory <33401433+mrcory@users.noreply.github.com> Date: Thu, 15 Aug 2019 17:25:31 -0400 Subject: [PATCH] Update config.h --- shade_controller/config.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/shade_controller/config.h b/shade_controller/config.h index 2dc6700..44c8cca 100644 --- a/shade_controller/config.h +++ b/shade_controller/config.h @@ -13,8 +13,8 @@ long shade[5] = {0,20500,41000,60000,0}; * be sure that there is enough strength to lift the shade * reliably. */ -#define stepperSpeed 950.0 //Max Speed -#define stepperAccel 200.0 //Acceleration Rate +#define stepperSpeed 1100.0 //Max Speed +#define stepperAccel 175.0 //Acceleration Rate int connectTimeout = 100; // How many attempts can we make before giving up on Blynk #define blynkRtcInterval = 30; // How often to sync the time. (Would be used for timers) @@ -37,10 +37,10 @@ int stepperTime[2][2] = {}; const int eepromSize = 512; //Declare motor pins -#define mtrPin1 D8//D5 -#define mtrPin2 D6//D7 -#define mtrPin3 D7//D6 -#define mtrPin4 D5//D8 +#define mtrPin1 D5//D5 +#define mtrPin2 D7//D7 +#define mtrPin3 D6//D6 +#define mtrPin4 D8//D8 const int stepPerRev = 4096; //Steps needed to make 1 revolution @@ -90,6 +90,9 @@ int pulseMax = 250; //Max brightness for pulse mode. Max 250 or it wil #define LED_TYPE WS2812 //LED controller #define COLOR_ORDER GRB //Order to send colors +//PWM Light Settings +#define PWM_PIN D2 //Rev.0 PCB uses D2 + //Extra Stuff #define rtcBlynk false