Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Example Parts Library cbold_logo_gif

<<  File View  >> Class View Parts Library Examples Home

 

$INSERT
// THIS FILE IS IN THE PUBLIC DOMAIN.
// IT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT
// NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
$END
 
//Switch Part File
 
$PART_NAME LATCH_SWITCH   // switch actuated by front-panel latch
$JEDEC_TYPE LATCH_SW
$REF_PREFIX SW
$PIN_COUNT 3
$PORTS
    COM    1;    // common
    OPEN   2;    // connected to COM when latch is open
    CLOSED 3;    // connected to COM when latch is closed
$ENDPORTS
$ENDPART
 
 
$PART_NAME DIPSW5       // 5-position DIP switch
$JEDEC_TYPE DIP10       // standard DIP footprint
$REF_PREFIX SW
$PIN_COUNT 10
$PORTS
    A[4:0]   5  4  3  2  1;   // same pin layout as DIP
    B[4:0]   6  7  8  9 10;
$ENDPORTS
$ENDPART

 

<<  File View  >> Class View Parts Library Examples Home

Legal Copyright © 2007 by Coolquest, Inc. Contact