4 thoughts on “StepperController.fz

  1. Hi kevin, i followed your schematic diagram but instead of using 2N2222 PnP Transistors i use MPS d2396 transistor. i copy your code and upload it but i has an error, is says:

    sketch_feb09b:1: error: expected constructor, destructor, or type conversion before ‘Motor’
    sketch_feb09b.cpp: In function ‘void setup()’:
    sketch_feb09b:80: error: ‘motorReset’ was not declared in this scope

    can you help me with this? what could be my possible mistake?

    thanks…

  2. @Mark, Remove the motorReset function in the void function. I forgot to remove it when I published the source code. I got no more error when testing it. I also remove it the shown code. Did you still get constructor error? Which version of Arduino software do you use?

Leave a Reply

Your email address will not be published. Required fields are marked *