Compiling to Arduino Due Sketch

  1. cd tests
  2. Compile the arduino-test.uml file using the EmbeddedML compiler.
  3. ../mlc.exe -arduinobackend arduino-test.uml
  4. This generates an Arduino compatible ".ino" file in the "output" directory, which you will need to load into the Arduino IDE where you can compile and load it to the Arduino Due.
  5. The resulting executable will flash the "L" LED on for 500ms and then off for 500ms.