That’s a great question. It’s a three step process:
- Create a group
- Create a sequence with “externally defined locations”
- Pass the group to the sequence inside of a “Farm Event” (repeating schedule).
Put Carrots in a Group
First, you will want to create a group of points. You will hear FarmBot users call these “point groups” or just “groups”. In your case, you will want to create a group that contains all of your carrots. The Farm Bot documentation in the previous link will explain this in detail.
Make a Generic Watering Sequence
After that, you will need to create a sequence that moves to a carrot and waters it, but instead of directly moving to a single specific carrot, you will instead want to move to an “externally defined location” using the MOVE TO block. You can think of this location similarly to a variable in a math equation. Later on, we will instruct FarmBot to replace the “externally defined location” with the value of a real carrot in the garden.
The “externally defined location” feature is what makes it possible to water 40 carrots without creating 40 sequences.
Execute the Sequence on a Schedule
Now we have:
- A group of carrots. (I will call this the “Carrots Group”).
- A sequence that can water any garden location we pass to it. (I will call it “Sequence A”).
To actually water the carrots on a daily basis, create a Farm Event that calls
"Sequence A" and moves to the
"Carrots Group" every day. FarmBot OS will infer that you want to run the sequence once against all members of the group, giving us the desired effect of watering each carrot individually on a regular schedule.
I hope that helps! Please let me know if you have any other questions.