"""
MHS-5200A Function Generator Python Driver

A Python library for controlling MHS-5200A series DDS signal generators.
Protocol determined through experimental observation.

Basic usage:
    from mhs5200 import MHS5200, Waveform
    
    with MHS5200('/dev/ttyUSB0') as gen:
        gen.set_frequency(1, 1000)
        gen.set_amplitude(1, 5.0)
        gen.set_waveform(1, Waveform.SINE)
        gen.set_all_outputs(True)
"""

from .core import MHS5200, Waveform, Attenuation, SweepMode
from .exceptions import (
    MHS5200Error,
    ConnectionError,
    CommunicationError,
    ResponseError,
)

__version__ = "0.1.0"
__all__ = [
    "MHS5200",
    "Waveform",
    "Attenuation",
    "SweepMode",
    "MHS5200Error",
    "ConnectionError",
    "CommunicationError",
    "ResponseError",
]
