Skip to content

Stepper

詳細情報

メンバー

Stepper()

Stepper::Stepper(int number_of_steps, int motor_pin_1, int motor_pin_2)

引数

  • int number_of_steps
  • int motor_pin_1
  • int motor_pin_2

Stepper()

Stepper::Stepper(int number_of_steps, int motor_pin_1, int motor_pin_2, int motor_pin_3, int motor_pin_4)

引数

  • int number_of_steps
  • int motor_pin_1
  • int motor_pin_2
  • int motor_pin_3
  • int motor_pin_4

Stepper()

Stepper::Stepper(int number_of_steps, int motor_pin_1, int motor_pin_2, int motor_pin_3, int motor_pin_4, int motor_pin_5)

引数

  • int number_of_steps
  • int motor_pin_1
  • int motor_pin_2
  • int motor_pin_3
  • int motor_pin_4
  • int motor_pin_5

setSpeed()

void Stepper::setSpeed(long whatSpeed)

引数

  • long whatSpeed

step()

void Stepper::step(int number_of_steps)

引数

  • int number_of_steps

version()

int Stepper::version(void)

戻り値

int