Compare commits
No commits in common. "82d7ab5e6f9eb7cc648a975d26fe03774b61d568" and "f469f012f83e7987ec207242b679dd4a9275b27a" have entirely different histories.
82d7ab5e6f
...
f469f012f8
|
|
@ -19,7 +19,7 @@ namespace Proculite.GpioRest.Controllers
|
||||||
if(!ModelState.IsValid)
|
if(!ModelState.IsValid)
|
||||||
return BadRequest();
|
return BadRequest();
|
||||||
|
|
||||||
return Ok(_gpioService.CurrentPinValue(pinNumber).ToString());
|
return Ok(_gpioService.CurrentPinValue(pinNumber));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -40,7 +40,6 @@ namespace Proculite.GpioRest.Services
|
||||||
}
|
}
|
||||||
|
|
||||||
_gpioController.OpenPin(pin, pinMode, PinValue.Low);
|
_gpioController.OpenPin(pin, pinMode, PinValue.Low);
|
||||||
Thread.Sleep(200);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue