devices.py 468 B

1234567891011121314151617181920
  1. """
  2. Device constants are used during instantiation of interface classes (such as
  3. :class:`alphasign.interfaces.local.USB`) to describe particular sign devices.
  4. The following constants are defined in this module:
  5. * :const:`USB_BETABRITE_PRISM` = (0x8765, 0x1234)
  6. --------
  7. Examples
  8. --------
  9. Connect to a BetaBrite Prism sign using USB::
  10. sign = alphasign.USB(alphasign.devices.USB_BETABRITE_PRISM)
  11. sign.connect()
  12. ...
  13. """
  14. USB_BETABRITE_PRISM = (0x8765, 0x1234)