-
Notifications
You must be signed in to change notification settings - Fork 1
PowerShell Example
athomsfere edited this page Jan 24, 2016
·
1 revision
#Point to your copy of the BStick.dll
Add-Type -Path "H:\Programs\CSharp\BStick\BStick\bin\Release\BStick.dll"
$Devices = New-Object BStick.Devices
$Devices.GetHids()
Write-Host $Devices.foundHids[0].Serial
$Blinker = New-Object BStick.Blinker
$Blinker.SetBlinkCount(10)
Write-Host $Blinker.GetBlinkColorString()
$bFire = New-Object Bstick.BlinkFire
$Device = $Devices.foundHids[0]
$bFire.SirenBlink($Blinker, $Device)