Steps for Code Generation

  1. Set the status of the block ArduinoConfiguration to off (to avoid errors if the Arduino board is not connected).
  2. At the top level, select all the blocks and place them in a super block (use the Super Block menu).
  3. Select the Super block and execute the function vssGenerateInoFile.
  4. Open the created ino file with the Arduino IDE. From the Tools menu, select the card and the ports.
  5. Compile and upload the sketch to the card.
  6. The code now runs standalone on the Arduino board.