Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 678 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 678 Bytes

ccode-template-arduino

20-sim code generation template for Arduino (AVR/ARM)

Installation

Download the code generation template using the "Download ZIP" button on Github or using a "git clone"

  1. Extract the zip file
  2. Copy the folder Arduino to a location on your 20-sim PC.
  3. Open 20-sim
  4. Choose from the Menu: Tools | Options
  5. Choose Folders
  6. Choose C-Code Folders
  7. Add the folder you copied in step 2.
  8. To export a submodel for Arduino, choose Tools | Real Time Toolbox | C-Code Generation and select "20-sim submodel for Arduino (Github)".

External dependencies

Install the Arduino IDE to compile the generated code and upload it to your Arduino.