After assembly the Arduino IDE software for the Raspberry Pi would now need to be installed.
Plug the PiDuino into the Pi and power up. Follow the Arduino IDE installation from Gordon’s project.
Start the Raspberry Pi GUI from the command line by typing:
Start the Arduino IDE by clicking Programming | Arduino IDE
Load the Blink sketch from File | Examples | Basics | Blink
Select the Arduino Pro Mini (3.3v 8MHz) board from Tool | Board | Arduino Pro or Pro Mini (3.3V, 8MHz) w/ ATmega328
Select the Programmer : Tools | Programmer | Raspberry Pi GPIO
Make any changes to the sketch as required. For example delay values. Compile and upload the sketch : File | Upload Using Programmer
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:
import RPi.GPIO as GPIO
You should now see LED1 flashing.