Skip to content

Commit e121249

Browse files
authored
update to set interval.
1 parent a399314 commit e121249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiment5.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function start(rpm) {
1111
// just in case!
1212
stop();
1313
// start our interval
14-
setInterval(function() {
14+
interval = setInterval(function() {
1515
// output the step from the array
1616
digitalWrite(MTR, steps[step]);
1717
// move on to the next step

0 commit comments

Comments
 (0)