Visual stimulation may be new treatment for Alzheimer’s

Hello, I’m not yet a great coder but I’m kinda good at the hardware part. I have a family member that is starting to exhibit the beginning of Alzheimers. I came across this article Page here where Using LED lights flickering at a specific frequency, MIT researchers have shown that they can substantially reduce the beta amyloid plaques seen in Alzheimer’s disease, in the visual cortex of mice. I did some more research and found others who have created lights like the one I want to build. Video here I found a video that shows how to change the frequency of the light video.
I don’t know the correct questions to ask. I want to run the program of different frequencys for a certain amount of time like the one shown in the video. I have already downloaded the Zip file for the pwm and plugged it in but I don’t know how to even start. I have a third reference video but i can only add two.

you can Email me @ clcburdine at yahoo or here on the forum.

ok i have this
#include <PWM.h>
// The TIP41C Transistor is connected to Pin 13
int led = 9;

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
// two short flashes
digitalWrite(led, HIGH);
delay(50);
digitalWrite(led, LOW);
delay(100);
digitalWrite(led, HIGH);
delay(50);
// stay dark for 800ms
digitalWrite(led, LOW);
delay(800);
}
I want it to use the PWM code and work like in the video I included
I’m learning to code I’ve got the hardware part down but not the code. What i want it to do video.