void SendDummyData()
    {
        var packet = new ArtnetDmx(0);

        packet.setChannel(channel, value);
        msgBytes       = packet.toBytes();
        pendingMessage = true;
    }
Beispiel #2
0
    private static void TimerEvent(Object source, ElapsedEventArgs e)
    {
        // LED PAR 1
        _fadeChannel(10);
        _fadeChannel(11);
        _fadeChannel(12);

        // LED PAR 2
        _toggleChannel(13);
        _toggleChannel(14);
        _toggleChannel(15);

        socket.SendTo(packet.toBytes(), toAddr);
    }