Data Sheet
Guide V1.0
Email: keen@elecrow.com Web: www.elecrow.com ---Designed by Elecrow Keen
64
Language reference
Note:click on the following name to jump to the web page.
If you fail to open, use the Adobe reader to open this document.
Stepper myStepper = Stepper(steps, pin1, pin2, pin3, pin4)
stepper.setSpeed()
stepper.step()
Application effect
The motor will rotate in a clockwise direction. The higher the potentiometer value,
the faster the motor speed. Because setSpeed() sets the delay between steps,
you may notice the motor is less responsive to changes in the sensor value at
low speeds.
Lesson 21: Relay module experiment
Overview
This lesson will teach you how to use a button to control a relay experiment. The Delay()
function is not used to eliminate jitter and improve the running efficiency of the program.
Specification
Null
Pin definition
Relay module UNO R3
S -> D8
+ -> VCC
- -> GND