# DIPN The DIP component is an N array of DIP switches which are connected to 5V when Switch = `On State` and 0V (GND) otherwise. ## Widget Interfaces | Id | Interface | Description | | :--- | :--- | :--- | | DIP1 | ToggleButtonWidget | Toggle switch 1 to toggle the output voltage | | DIP2 | ToggleButtonWidget | Toggle switch 2 to toggle the output voltage | | .. | .. | .. | | DIPN | ToggleButtonWidget | Toggle switch N to toggle the output voltage | ## Breadboard Footprint ![](Breadboard.png) ## Schematic Symbol Not available > Roadmap: Bind schematic. ## Description ![]( Model.png) DIPS are an interactive component. Clicking on the DIP switch, the white square region, toggles the value of the switch. The SETTINGS property is an N Binary string representing the values of each of the DIP switches. Clicking the respective DIP switch will change the value of SETTINGS, alternatively the value can be directly edited in the *DIP* property textbox. ## SPICE The DIP Pins are modelled as a Vdd/Gnd Power Source. ## OpenVBB The DIP Pins are modelled as a Vdd/Gnd Power Source. ## PinOut | Pin | Name | Description | | :--- | :--- | :--- | | N | Output[N] | DIP Output. Nth Pin is 5V if the Nth switch is *On State* else is Gnd. | ## Properties | Property | Default | Description | | :--- | :--- | :--- | | [DIP](#DIP) | 0 | The N-binary value of the DIP settings. | | [OnState](#onstate) | HIGH | The value of the DIP output when in the ON state. | | [Pins](#pins) | Bottom | The location of the pins relative to the DIP body as per this setting. | | [PinCount](#pincount) | 1 | The number of pins. | ### DIP The N-binary value of the DIP with 1 bit per pin. The value is edited by clicking the DIP or manually editing the text. The value is persisted when the Breadboard is saved and is restored when the Breadboard is laoded to preserve setting values between project sessions. ### OnState The value of the DIP output when in the ON state. ![]( OnState.png) * *HIGH* - Pin is driven high ( VDD ) * *LOW* - Pin is driven low ( GND ) ### Pins The pins are rendered either on the Top or Bottom of the DIP body as per this setting ![]( PinLocation.png) * *Top* - Pins are rendered on the Topside * *Bottom* - Pins are rendered on the Bottomside ### PinCount The number of pins in the DIP array. ![]( PinCount.png) ## Useage ![](Usage.png) ## Notes Store App doesn't correctly handle rotation - the mouse does correctly hit the buttons