Create a Digital Write Block
Create a Digital Write block that writes the value of GPIO pins when the Simulink® model is deployed to the Raspberry Pi® board.
Prerequisite
Ensure to install the latest version of WiringPi
library on the operating system of your Raspberry Pi board. To install the library, open the Raspberry Pi terminal and run this command: sudo apt install
wiringpi
To create a Digital Write block, complete these tasks:
See Also
Create a Digital Read Block | Block Mask | Simulation with Device Driver Blocks | Sharing Device Driver Blocks with Other Users