H3CM5

Lubuntu 17.04 and SimulIDE 0.04.4
---------------------------------

1. Installed daily build ISO from

  http://ftp.belnet.be/lubuntu.org/daily-live/pending
       /zesty-desktop-amd64.iso

Added keyboard plugin with layouts US, Estonian, Russian

Installed

  apt-get install build-essential qt5-default 
  apt-get install arduino mono-complete wine
  
Downloaded and extracted SimulIDE 0.0.4

  wget -c https://netix.dl.sourceforge.net/project/simulide
  /SimulIDE_0.0.4/Linux/SimulIDE_0.0.4-Lin64.tar.gz
  tar xf SimulIDE_0.0.4-Lin64.tar.gz
  mv SimulIDE_0.0.4-Lin64.tar.gz SimulIDE004
  
Created desktop shortcuts for SimulIDE, Arduino, LXTerminal

> For all these reasons, it’s just easier to use a text editor to create 
> your .desktop file*.

  virtu@LXBOX:~$ cat Desktop/simulide.desktop 
  [Desktop Entry]
  Type=Application
  Name=SimilIDE 0.0.4
  Exec=/home/virtu/SimulIDE004/SimulIDE_0.0.4
  Icon=/home/virtu/SimulIDE004/data/images/arduinoUno.png
  Terminal=false

----------------

*) https://lkubaski.wordpress.com/2012/06/29
        /adding-lxde-start-menu-and-desktop-shortcuts/

Traffic Lights test
-------------------

1. Compile with arduino
  
Traffic Lights

  void setup() {                
    pinMode(10, OUTPUT);     
    pinMode(9, OUTPUT);     
    pinMode(8, OUTPUT);     
  }

  void dimAll() {
    for (int x=8; x<=10; x++) digitalWrite(x, HIGH);
  }

  void State(int aPin) { 
    dimAll();
    digitalWrite( aPin, LOW);
    delay(500);
  }

  void loop() {
    State(10);
    State(9);
    State(8);
    State(9);
  }
  
Build Circuit with SimulIDE 0.0.4 (shown as Spice code)

  E1   0   1  5V
  R1   1   2  100
  R2   1   3  100
  R3   1   4  100
  LED1 2   ArduinoUno_D8
  LED1 3   ArduinoUno_D9
  LED1 4   ArduinoUno_D10
  ArduinoUno
  
Load Firmware TrafficLights.ino.hex and run.

Annex A. Initial Test (Blin.ino)
--------------------------------

  void setup() {
    pinMode(LED_BUILTIN, OUTPUT);
  }

  void loop() {
    digitalWrite(LED_BUILTIN, HIGH);
    delay(1000);
    digitalWrite(LED_BUILTIN, LOW);
    delay(1000);
  }

Circuit 

  E1   0   1  5V
  R1   1   2  100
  LED1 2   ArduinoUno_D13
  ArduinoUno
