Main Content

Digital Output

Set the logical value of a digital output pin


Simulink Coder Support Package for NXP FRDM-KL25Z Board/ FRDM-KL25Z

  • Digital Output block


Set the logical value of the selected digital output pin. There are 14 pins on the FRDM-KL25Z board that you can use as output for digital signals, D0-D13. The digital pin layout for this board is compatible with the standard Arduino Digital Pins.

During simulations without the hardware, this block does nothing.



Select the digital pin.

Make sure not to assign the same pin number to multiple blocks within your model.

View pin map

Click on this button to open a snapshot of the board with a reference to the GPIO pins.