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.
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
To create a Digital Write block, complete these tasks: