Exemple #1
0
        private static void SetDefaultOrientations()
        {
            // You may need to change the rotaton depending on how the Adafruit I2C devices are plugged
            // into Nusbio, your board or your breadboard.
            _ledMatrix00.SetRotation(0);
            if (_ledMatrix01 != null)
            {
                _ledMatrix01.SetRotation(2);
            }
            if (_ledMatrix02 != null)
            {
                _ledMatrix02.SetRotation(0);
            }
            if (_ledMatrix03 != null)
            {
                _ledMatrix03.SetRotation(0);
            }



            // Adafruit -- show and tell demo
            _ledMatrix00.SetRotation(2);
            if (_ledMatrix01 != null)
            {
                _ledMatrix01.SetRotation(0);
            }
        }