Please post your latest working code, which statements cause the motor to close? To open? (line numbers).