Test program
This commit is contained in:
parent
0b98638cd5
commit
828a1a2bfa
@ -15,6 +15,8 @@ while(apiKey is null || apiKey.Length < 1)
|
||||
OpenShockHttp openShockHttp = new (apiKey, logger: logger);
|
||||
foreach (OpenShockShocker shocker in openShockHttp.GetShockers())
|
||||
{
|
||||
shocker.Control(ControlAction.Vibrate, 20, 1000);
|
||||
shocker.Control(ControlAction.Vibrate, 20, 1000);
|
||||
shocker.Control(ControlAction.Vibrate, 20, 1000);
|
||||
Thread.Sleep(1100);
|
||||
}
|
||||
@ -55,3 +57,6 @@ OpenShockShocker deserialized = JsonConvert.DeserializeObject<OpenShockShocker>(
|
||||
shocker.Dispose();
|
||||
deserialized.Dispose();
|
||||
*/
|
||||
|
||||
while(!Console.KeyAvailable)
|
||||
Thread.Sleep(100);
|
Loading…
x
Reference in New Issue
Block a user