The program loades is based on the blink example that is in the Arduino IDE environment.
https://www.arduino.cc/en/Tutorial/Blink
But in this case, I use Fabduino instead of Arduino, and no need to resistor and external led, Fabduino already have one.
The layout conection is as follows
The program working: