-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
mrcory edited this page May 14, 2019
·
8 revisions
Set the blynk connections settings in "blynk.h" to connect to your server.
You will need to configure "mtrPin1" through 4 with the pins that connect to your driver board.
Fill in "shade[5]" with the step positions that you want your shade to stop at. 1 is the top and 4 is the bottom.
Using the serial monitor you can use the command move <val>. Fill in <val> with a number. This will be an absolute position in steps for the stepper motor.
Example: int shade[5] = {0,20500,41000,61500,0};(The last int is for a scaled position that is set from a slider in the Blynk app. It is figured automatically.