Relay X1 Module

Hi everybody,

Today I received my relay X1 module. I want to use it with a cerbuinobee but I didn’t find any driver.
Do you know where can I get it or when the developer guide will be available for this module ?

Thanks
André

You can use something like this.

public class PowerControl
    {
        static GT.Interfaces.DigitalOutput _powerdo = null;
        public bool Power
        {
            get
            {
                return _powerdo.Read();
            }
            set
            {
                _powerdo.Write(value);
            }
        }

        public PowerControl(int socketno, GT.Socket.Pin pin)
        {
            if (_powerdo != null) return;

            GT.Socket socket = GT.Socket.GetSocket(
                       9,
                       true,
                       null,
                       null);

            _powerdo = new GT.Interfaces.DigitalOutput(
                socket,
                pin,
                false,
                null
                );
        }

    }
1 Like

see also http://www.ghielectronics.com/docs/188/relay-x1-module

Thanks a lot