ndp1.Nexus.Nexus C# (CSharp) Method

Nexus() public method

public Nexus ( ) : System
return System
        public Nexus()
        {
            _serLcd = new SerLCD();
            _serLcd.Write("hello", "world");

            _serialBridge = new SerialBridge(Serial.COM2);
            _serialBridge.ReadLine += new ThreadedSerialDevice.ReadHandler(_serialBridge_ReadLine);

            // _blinkMs = new BlinkMArray();

            // _mp3Trigger = new Mp3Trigger();
            // _mp3Trigger.SetVolume(64);

            //_emic2 = new Emic2();
            //_emic2.Say("hello");

            _button_Red = new ControlButton(Pins.GPIO_PIN_D5, "Red", 0, this);
            _button_Green = new ControlButton(Pins.GPIO_PIN_D6, "Green", 80, this);
            _button_Blue = new ControlButton(Pins.GPIO_PIN_D9, "Blue", 160, this);
            _button_Yellow = new ControlButton(Pins.GPIO_PIN_D10, "Yellow", 42, this);
        }