class.ino

Version 1

    Example to show the difference of class constructor code.

     

    Uncommenting

    #define USE_MOTOR_CLASS

    there are different results depending on commenting the line

    m = DC_Motor(PIN_A, PIN_B);

    at the setup() function

    class.ino.zip (866 bytes) Download