Translations of this page: 
This is an old revision of the document!
About this Article
1 you should install arduino ide. Please refer to how to connect cubieboard and arduino
2 connect arduino and led.
3 Use usb to connect arduino and cubieboard .
4 then we can start writing programs in arduino ide. we still make LED lights flashing, lit one second turns off one second
  int ledPin = 10; //Defining Digital Interface 10
  void setup()
  {
  pinMode(ledPin, OUTPUT);//Definition of small lights interface output interface
  }
  void loop()
  {
  digitalWrite(ledPin, HIGH); //lit lamp
  delay(1000); //Delay 1 second
  digitalWrite(ledPin, LOW); //Extinguish  lamp
  delay(1000); // Delay 1 second
  }