The Digtal Input block reads the logical value previously writen on the microcontroller pin.
Dialog Box
Port
Port used
Pin
Pin used, start at 0 and is defined in vector form allowing several Pin to be read at the same time.
Sample Time
-1 is inherited
Block Ordering Input / Output
Create one input and/or output port on simulink. This port is virtual and do not add code in the microcontroller. It is used to force the execution order between two dsPIC/PIC24 peripheral blocks. (see examples)
The Microchip name PIC, dsPIC, and MPLAB are
registered trademarks of Microchip Technology Inc.
MATLAB, Simulink, and Real-Time Workshop are
registered trademarks of The MathWorks, Inc.