Changes

Jump to: navigation, search

Fit-statUSB

320 bytes added, 07:44, 6 June 2018
=== PowerShell ===
To powershell "$fitstatUSB= new-Object System.IO.Ports.SerialPort [com port]; $fitstatUSB.open(); $fitstatUSB.WriteLine('[command]'); $fitstatUSB.Close()"* [command] - the command sent to fit-statUSB over serial* [com port] - the COM port assigned to fit-statUSB '''Example:'''Assuming fit-statUSB is on COM10 the following command will set fit-statUSB color to red using PowerShell:
powershell "$fitstatUSB= new-Object System.IO.Ports.SerialPort COM10; $fitstatUSB.open(); $fitstatUSB.WriteLine('#FF0000'); $fitstatUSB.Close()"