Make any changes to the sketch as required. For example delay values. Compile and upload the sketch : File | Upload Using Programmer

NOTE

LED1 is connected to the SPI bus, SCK which is pin 11 on the Raspberry Pi. After programming this pin becomes low and would stop the LED flashing. To solve this problem pin 11 would need to configure as an input by: