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