@@ -121,7 +121,7 @@ void loop() { |
|
|
121 |
121 |
delay(30000); |
122 |
122 |
} |
123 |
123 |
} |
124 |
|
-// Manual lift controll simulation by pressing button |
|
124 |
+// Manual lift control simulation by pressing button |
125 |
125 |
manualControl(); |
126 |
126 |
} |
127 |
127 |
delay(500); |
@@ -160,9 +160,9 @@ void goToLiftPercentage(uint8_t liftPercentage) { |
|
|
160 |
160 |
// Our simulated cover updates instantly! |
161 |
161 |
currentLift = (liftPercentage * MAX_LIFT) / 100; |
162 |
162 |
currentLiftPercentage = liftPercentage; |
163 |
|
- Serial.printf("New requsted lift from Zigbee: %d (%d)\n", currentLift, liftPercentage); |
|
163 |
+ Serial.printf("New requested lift from Zigbee: %d (%d)\n", currentLift, liftPercentage); |
164 |
164 |
|
165 |
|
-//Update the current position |
|
165 |
+// Update the current position |
166 |
166 |
zbCovering.setLiftPercentage(currentLiftPercentage); //or setLiftPosition() |
167 |
167 |
} |
168 |
168 |
|
@@ -173,9 +173,9 @@ void goToTiltPercentage(uint8_t tiltPercentage) { |
|
|
173 |
173 |
// Our simulated cover updates instantly! |
174 |
174 |
currentTilt = (tiltPercentage * MAX_TILT) / 100; |
175 |
175 |
currentTiltPercentage = tiltPercentage; |
176 |
|
- Serial.printf("New requsted tilt from Zigbee: %d (%d)\n", currentTilt, tiltPercentage); |
|
176 |
+ Serial.printf("New requested tilt from Zigbee: %d (%d)\n", currentTilt, tiltPercentage); |
177 |
177 |
|
178 |
|
-//Update the current position |
|
178 |
+// Update the current position |
179 |
179 |
zbCovering.setTiltPercentage(currentTiltPercentage); //or setTiltPosition() |
180 |
180 |
} |
181 |
181 |
|