Matlab-Simulink device driver Blockset for Microchip dsPIC / PIC24 / PIC32 Microcontrollers.

DsPIC Block/Digital Input

From - Simulink device driver Blockset for dsPIC / PIC24 / PIC32 Microcontrollers --[[User:LubinKerhuel|LubinKerhuel]] 12:40, 3 September 2009 (UTC)
Jump to: navigation, search
Block Digital Input

The Digtal Input block reads the logical value of the selected microcontroller pin.

Dialog Box Parameters

Digital Input Dialog


  • Port used


  • 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)

<comments \>