mirror of
https://github.com/ckaczor/WorkIndicator.git
synced 2026-01-14 01:25:45 -05:00
WIP - microphone in use detection
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
using Common.Extensions;
|
||||
using Common.Extensions;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace WorkIndicator.Delcom
|
||||
{
|
||||
@@ -80,6 +80,8 @@ namespace WorkIndicator.Delcom
|
||||
_yellow = yellow;
|
||||
_green = green;
|
||||
|
||||
Debug.WriteLine($"Red: {_red}, Yellow: {_yellow}, Green: {_green}");
|
||||
|
||||
port1 = port1.SetBitValue((int) Light.Green, green == LightState.Off);
|
||||
port1 = port1.SetBitValue((int) Light.Yellow, yellow == LightState.Off);
|
||||
port1 = port1.SetBitValue((int) Light.Red, red == LightState.Off);
|
||||
|
||||
Reference in New Issue
Block a user