'''Devices
===========

Defines some of the devices that are used in the experiment.
'''


__all__ = (
    'FTDIOdorsBase', 'FTDIOdorsSim', 'FTDIOdors', 'DAQInDeviceBase',
    'DAQInDeviceSim', 'DAQInDevice', 'DAQOutDeviceBase', 'DAQOutDeviceSim',
    'DAQOutDevice')

from weakref import ref

from moa.device.digital import ButtonChannel, ButtonPort
from moa.device.analog import NumericPropertyChannel

from ffpyplayer.player import MediaPlayer

from kivy.properties import (
    ConfigParserProperty, BooleanProperty, ListProperty, ObjectProperty,
    NumericProperty)
from kivy.app import App
from kivy import resources

from cplcom.moa.device.ftdi import FTDISerializerDevice
from cplcom.moa.device.mcdaq import MCDAQDevice



class FTDIOdorsBase(object):
    '''Base class for the FTDI odor device.