You are getting closer! You still need to declare growTime before you declare tick. Just look at your very first line and picture your program doing each line one at a time:
int tick = growTime ;
This is the first thing the program will attempt to process. You are declaring a variable called tick and initializing it as growTime. But what is growTime? At this point in the program it doesn’t exist yet. It is declared (i.e. brought into exists) on the next line! I’m not really sure what the end goal of the project is but check out this code with explanation:
int tick = 0; //Declare tick and set it equal to zero
int growTime = ++tick; //tick increments to 1. growTime is set to 1.
Now both tick and growTime equals 1 (Again I am not certain this is your intent).
Let’s check your loop code. I can tell you now that all that will happen is the following two lines:
Why do I know this? Nothing is incrementing tick, so tick will forever be equal to 1! if you want those conditionals to hit, you must increment tick somewhere outside those conditionals. Finally, of those two lines we reach one of your errors: too few arguments to function ‘void digitalWrite(uint8_t, uint8_t)’. Your digitalWrite(growTime) is the culprit here. It must take two arguments. The first is the pin you want to control. The second is the value.
Hope this helps and good luck!