Пример #1
0
        // private OutputPort led;


        /// <summary>
        /// Creates an NeonMika.Webserver instance running in a seperate thread
        /// </summary>
        /// <param name="portNumber">The port to listen for incoming requests</param>
        public Server()
        {
            // Turn on red Light to show we are initializing
            _statusLED = new StatusLED.StatusLED(Pins.GPIO_PIN_D8, Pins.GPIO_PIN_D9, Pins.GPIO_PIN_D10);
            _statusLED.redLED();
            _laser         = new Laser.Laser(Pins.GPIO_PIN_D4);
            _distanceValue = new DistanceValue.DistanceValueClass();
        }
Пример #2
0
 public void setLaser(Laser.Laser obj)
 {
     _laser = obj;
 }
Пример #3
0
 public void setLaser(Laser.Laser obj)
 {
     _laserObject = obj;
 }