CC redpulse help?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Jacobbelveder

New Member
Jul 29, 2019
79
0
0
Hi guys o/ I'm completely new to computercraft, and I need to power an inchworm drive... and I'm trying to use redpulse, when I run redpulses manually, to the appropriate sides, it all shifts along as it ought to. But now I'm trying to automate it moving. can anyone help me with a program to pulse on one side, wait 0.4 seconds and pulse on the other.

so far I've got:
shell.run(redpulse "right" (1))

which throws up an error of: bios:338: [string "move"]:1: ')' expected.
My vague and useless computer understanding, tells me it's looking for another parentheses, any idea where? or what I'm doing wrong if I'm barking completely up the wrong tree.