The DoRow procedure you would write. It would lift the solenoids as necessary, and wait til weft (warp?) thread pulled through.
"The four "set-up" numbers and the four pattern code strings would be sent to the Arduino via the serial link, and stored in variables for reference and re-reference for as long as you wanted the loom to weave that pattern" How can I implement this?
I have already programmed the sketch with a software called Mblock that interfaces with the arduino shield, but it is not working with more than 8 servos and I have 16 in my loom.../quote]Mblock MAY be a good starting point. Gives users the idea of what a program is, etc. Helps them by holding hand, making it hard to write something that just doesn't make sense.But... as you pointed out... there will be limits.The "raw" Arduino language IS a LITTLE strange at first... but I'd rather put my energies into something that, while strange, once mastered won't have limits. I will be able to do ANYTHING.And it really isn't SO arcane, difficult, once you get the hang of it.
DO you need to say "everyone back to zero"?If you say....First.... 0015Now.... 1500.... as the loom "moves to" 1500, the second servo WILL GO to zero, won't it?
In "DoRow", that "wait til weft..." bit could be taken care of by looking at the signal that the "GoSwitch" provides.