Tell us about yourself!

Complete Your Profile
  • colamage_ commented on einarms's instructable MQTT Home Automated Blinds1 year ago
    MQTT Home Automated Blinds

    As i understand it the "for(int x = 0; x < steps; x++) {....." and the rest of the code sets a time/step based rotation and you repeat the code for as many times you need it to, to get it where you want. But what does the DOOR_PIN do in this setup? In your .ino-file it's removed as #define DOOR_PIN but it is still used as a "state of change" to see if the blind is up or down? Also, I get the same problem as earlier in the comments as the DOOR_PIN is not set under define. Im not that good at Arduino code so a bit of help would be really useful.

    View Instructable »