Пример #1
0
        /// <summary>
        /// Creates a new instance of the ArduinoMega. This implementation hides a lot
        /// of the complexity from the end user
        /// </summary>
        /// <param name="comPort">The port of the arduino board. All other parameters are supposed to be the default ones.</param>
        public ArduinoMega(string comPort)
        {
            var provider = new ComPortProvider(comPort);

            firmata = new EasyFirmata(provider);
        }