Main Content
Create a Digital Read Block
Create a Digital Read block that reads 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 Read block, complete these tasks:
See Also
Create a Digital Write Block | Block Mask | Simulation with Device Driver Blocks | Sharing Device Driver Blocks with Other Users