Difference between revisions of "Fit-statUSB"

From fit-PC wiki
Jump to: navigation, search
(Detect COM port of fit-statUSB)   (change visibility)
Line 14: Line 14:
  
 
=== Detect COM port of fit-statUSB ===
 
=== Detect COM port of fit-statUSB ===
Use mode command
+
To identify which COM port is assigned to fit-statUSB use '''mode''' command
 
  mode
 
  mode
  

Revision as of 07:33, 6 June 2018

  • fit-statUSB is a programmable fingernail-size color LED that plugs into a USB port.
  • fit-statUSB provides status indication by changing the LED color, brightness and color cycle.
  • fit-statUSB identifies to the PC as a serial device and changes the LED color by text commands received over the serial port.

Using fit-statUSB in Windows

From command line

echo [command] > \\.\[com port]
  • [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:

echo #FF0000 > \\.\COM10

Detect COM port of fit-statUSB

To identify which COM port is assigned to fit-statUSB use mode command

mode

You will receive a list of COM ports. fit-statUSB listing on COM10 looks like that:

Status for device COM10:
------------------------
   Baud:            9600
   Parity:          None
   Data Bits:       8
   Stop Bits:       1
   Timeout:         ON
   XON/XOFF:        OFF
   CTS handshaking: OFF
   DSR handshaking: OFF
   DSR sensitivity: OFF
   DTR circuit:     OFF
   RTS circuit:     OFF