TECHNICAL WIKI

DsPIC Block/Digital Output Read

Block Digital Output Read

Block Digital Output Read

The Digtal Output get the last value written to the microcontroller pin.

Dialog Box Parameters

Digital Output Read Dialog

Digital Output Read Dialog

Port

  • Port used

Pin

  • Pin used, start at 0 and is defined in vector form.

Block Ordering Input / Output

Create one input and/or output port on simulink. This port is just used to set the order of execution between severals blocks. You want for example inside one time step set a pin to its high value and to its low value just after (create a glitch). You will used two blocks digital output, but they should be activated in a certain order. Connecting with the ordering Input/Output port the first block to the second one (temporaly speaking) will define the execution order.


<comments \>