Open main menu
Home
Random
Log in
Settings
About MagnetoWiki
Disclaimers
MagnetoWiki
Search
Changes
← Older edit
Newer edit →
Electronic Esophagus
(view source)
Revision as of 15:28, 13 April 2022
No change in size
,
15:28, 13 April 2022
m
Typo fix
Line 76:
Line 76:
// set the position to 0:
// set the position to 0:
stepper.setCurrentPosition(0);
stepper.setCurrentPosition(0);
−
// Run the motor forward at 400 steps/second until the motor reaches
24
steps (~0.125 revolutions):
+
// Run the motor forward at 400 steps/second until the motor reaches
12
steps (~0.125 revolutions):
while(stepper.currentPosition() != 12)
while(stepper.currentPosition() != 12)
{
{
MBass
44
edits