Main Content

Pin Mapping for Arduino Timer-Independent Blocks

Simulink® Support Package for Arduino® Hardware supports these blocks whose operation is independent of the timer on the Arduino hardware board.

To view the pin mapping for these blocks, click View pin map in the Block Parameters dialog box. This opens the pin mapping table for Arduino boards and Arduino compatible boards. For example, to find which pins you can use in the ThingSpeak Write block for the Leonardo board, look for the ThingSpeak Write entry under the Blocks column vertically down and Leonardo board horizontally across. Pins 10-13 can be used for the Leonardo board.

Arduino board pin mapping for timer independent blocks

For ESP32-WROOM and ESP32-WROVER Arduino compatible boards, use the following pin mapping table to enter the pin numbers for the timer independent blocks in the Simulink model.

Arduino ESP32 pin mapping for timer independent blocks

For Teensy 4.0 and 4.1 Arduino compatible boards, use the following pin mapping table to enter the pin numbers for the timer independent blocks in the Simulink model.

Arduino compatible Teensy hardware board pin configuration

For Raspberry Pi® Pico and Pico W Arduino compatible boards, use the following pin mapping table to enter the pin numbers for the timer independent blocks in the Simulink model.

Raspberry Pi Pico hardware board pin configuration

Use the following table to map between the digital and analog pins on an Arduino or Arduino compatible boards.

Digital to Analog pin mapping table for Arduino boards

See Also

|