Beispiel #1
0
        private async Task ReportBackAsync(ushort outBit)
        {
            IOC0640.ioc_write_outbit(0, outBit, 0);
            await Task.Delay(_durationSleep);

            IOC0640.ioc_write_outbit(0, outBit, 1);
        }
Beispiel #2
0
 private void ReportBack(ushort outBit)
 {
     IOC0640.ioc_write_outbit(0, outBit, 0);
     Thread.Sleep(_durationSleep);
     IOC0640.ioc_write_outbit(0, outBit, 1);
 }