Final test of motorized shades
This commit is contained in:
parent
db0f522297
commit
f7419da35b
|
|
@ -132,7 +132,7 @@ void setup() {
|
|||
new SpanAccessory();
|
||||
new Service::AccessoryInformation();
|
||||
new Characteristic::Identify();
|
||||
new DEV_WindowShade(new Stepper_TB6612(23,32,22,14,33,27), new Stepper_A3967(17,16,19,18,21)); // instantiate drivers for each board and specify pins used on ESP32
|
||||
new DEV_WindowShade(new Stepper_TB6612(23,32,22,14,33,27), new Stepper_A3967(18,21,5,4,19)); // instantiate drivers for each board and specify pins used on ESP32
|
||||
}
|
||||
|
||||
//////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -46,7 +46,9 @@ void setup() {
|
|||
Serial.printf("\nHomeSpan Stepper Control\n\n");
|
||||
|
||||
bigMotor=(new Stepper_TB6612(23,32,22,14,33,27))->setStepType(StepperControl::HALF_STEP)->setAccel(10,20);
|
||||
smallMotor=new Stepper_A3967(17,16,19,18,21);
|
||||
smallMotor=new Stepper_A3967(18,21,5,4,19);
|
||||
|
||||
// smallMotor->setStepType(StepperControl::EIGHTH_STEP);
|
||||
|
||||
// bigMotor->setStepType(StepperControl::HALF_STEP);
|
||||
// bigMotor->setAccel(10,20);
|
||||
|
|
|
|||
Loading…
Reference in New Issue