// 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(); }
public void setStatusLED(StatusLED.StatusLED statusLED) { _statusLED = statusLED; }