Blocks described on this wiki are deprecated since 2012.

Use the free MPLAB Device Blocks for Simulink, as replacement by Microchip Technology.
A new website with custom projects based on this new tool is at

DsPIC Block/Digital Output Write

From - Simulink device driver Blockset for dsPIC / PIC24 / PIC32 Microcontrollers --[[User:LubinKerhuel|LubinKerhuel]] 12:40, 3 September 2009 (UTC)
< DsPIC Block
Revision as of 18:30, 3 May 2015 by LubinKerhuel (talk | contribs) (LubinKerhuel moved page Block/Digital Output Write to DsPIC Block/Digital Output Write: Block is a special page, creates many issues)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Block Digital Output Write

The "Digtal Output write" block write the logical value to the microcontroller pin.

Dialog Box

Digital Output WriteDialog


  • Port used


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

See forum related question: Please feel free to complete this page !

<comments \>