Using Arduino Config

Target Category: Arduino

The Arduino Config block lets you configure some settings for the Arduino. Others are pre-set by Embed and cannot be changes.

A screenshot of a computer program

AI-generated content may be incorrect.

Boot Init Code: Specifies user C code to initialize the chip. This is a read-only parameter.

Control Clk Prescale: Displays the prescale factor for the PWM-based control clock. If the PWM is also used as an output peripheral, this setting matches the setting of the PWM block in the diagram. This is a read-only parameter.

Control Clk Src: Displays the periodic sampling interrupt source for the main control loop in Embed. This is a read-only parameter; Embed uses the Arduino API.

CPU: Specifies the CPU types. It is important to select the exact CPU type for the specified target.

CPU Speed: Indicates the speed of the CPU.

Ctrl Clk Count Mode: Displays the count mode for the PWM-based control clock. If the PWM is also used as an output peripheral, this setting matches the setting of the PWM block in the diagram. This is a read-only parameter.

Multiple of Crystal Freq: Indicates the multiple of crystal frequency.

Virtual Comport: Chooses the serial communications port that corresponds to your Arduino. If you do not know the correct serial port number, start the Arduino IDE and click Tools > Port to find it.