Shop OBEX P1 Docs P2 Docs Learn Events
One or the other works but not both — Parallax Forums

One or the other works but not both

lardomlardom Posts: 1,659
edited 2010-03-01 05:07 in Propeller 1
· I am programming a·linear slider that uses a stepper. If I program it to travel six inches I want it to start by first backing up three inches at a set speed. Thirdly I want it to return to its home position.
· I can program it to travel six inches··"or" ·I can get it to back up three inches by commenting out line 112 or line 114 but if line 112 is executed then·line 114 causes the motor to chatter. I typically put in 500 for 'distance' and 235 for 'speed'. In the stepper object "LarrysStepper4App" I had to comment out line 35. I clearly don't know what's getting mangled.

--- I had to copy the top object to MS Word. I hope it compiles correctly.---
·
·

Comments

Sign In or Register to comment.