Instead of passing HIGH or LOW, pass the number of times you would like it to blink. Set the function to blink that number of times Finally once it has completed all of the blinking it should turn the LED off.
I think one method I find it really useful is .toInt(). At first, I don't know how to transform a string to an int. It took me some time to figure it out.
Besides, for the exercise 2-3, I want to reuse the function ledControl. But I don't know how to import the ledPin as a parameter:( I wish I can figure it out soon.
You can upload files of up to 20MB using this form.