:orphan: .. _device-GP8403: GP8403 ====== **From:** `guestgood `_ **Class:** :py:class:`herosdevices.hardware.guestgood.GP8403` **Driver Quality Index:** beta Driver for the GP8403 2ch 0-10V DAC. .. tab-set:: .. tab-item:: Arguments Bold arguments are mandatory. For more information on the listed arguments refer to the class documentation: :py:class:`herosdevices.hardware.guestgood.GP8403` If parameters appear in this list but not in the class definition, please recursively check the linked base classes for the definition of the parameter. .. list-table:: :widths: 50 50 50 100 :header-rows: 1 * - Argument - Type - Default Value - Description * - bus_id - - 1 - I2C bus id (default 1). * - device_address - - 95 - I2C address set (by resistors or switches) on the GP8403 (0x58 - 0x5f) * - mode_5v - - False - whether to use 0-5V range (True) or 0-10V range (False, default) .. tab-item:: Example JSON for BOSS The following JSON strings can be used to start a HERO device representation of :py:class:`GP8403 ` using `BOSS `_. .. code-block:: json { "_id": "flowboxcontrol_dac", "classname": "herosdevices.hardware.guestgood.GP8403", "arguments": { "bus_id": 1, "device_address": 95, "mode_5v": false } } :sup:`from examples/guestgood/gp8403.json` .. code-block:: json { "_id": "my_GP8403", "classname": "herosdevices.hardware.guestgood.GP8403", "arguments": { "bus_id": 1, "device_address": 95, "mode_5v": false } } :sup:`generated from signature` .. tab-item:: Inheritance .. inheritance-diagram:: herosdevices.hardware.guestgood.GP8403