Ejemplo n.º 1
0
        public Task Handle(ServoNotification notification, CancellationToken cancellationToken)
        {
            if (notification.High)
            {
                _gpioService.SendServoHigh();
            }
            else
            {
                _gpioService.SendServoLow();
            }

            return(Task.CompletedTask);
        }