Knight rider

Well luckily in this case, you can just copy and paste your own code. digitalWrite's second parameter should be HIGH or LOW. Fix that and then copy & paste your for loop so you have one version setting the leds HIGH followed by one that sets them LOW.