01. Blink Virtual LED - ArmDeveloperEcosystem/Corstone-for-Arduino GitHub Wiki

About

This example will use the Arduino IDE's built-in Blink example to turn a virtual LED on and off.

Prerequisites

Guide

  1. VNC into the AVH EC2 instance.
  2. Start the Arduino IDE:
    1. Applications -> Development -> Arduino IDE Start-Arduino-IDE
  3. Select the Arm Corstone-300 board
    1. Tools -> Board: ... -> Arduino Corstone Boards -> Arm Corstone-300 Arduino-IDE-Select-Board
  4. Open the Blink example:
    1. File -> Examples -> 01.Basics -> Blink
  5. Click the Verify button to compile the sketch.
  6. Click the Upload button to run the sketch.
    1. This will launch the Corstone-300 Fixed Virtual Platform (FVP)
  7. The Corstone-300 FVP will launch, and the right most virtual LED will blink on and off.
    1. Virtual LED on (red): Blink-LED-on
    2. Virtual LED off (green): Blink-LED-off
  8. You can close the Corstone-300 FVP by click on the X on the top right corner of the window.