Line 30: |
Line 30: |
| ===Output=== | | ===Output=== |
| | | |
− | Output knows two protocols: '''BITSI simple''' or '''BITSI extended'''. To enter a certain protocol two buttons have to be pressed when the BITSIbox is powered or com port opens. '''[2015]Press button H and A for simple mode and H and B for extended mode. [2018]Press button E and A for simple mode and E and B for extended mode.'''
| + | The treshold for OFF is customizable and can be specified by sending a code Send code to specify the value for screen OFF. |
| | | |
− | If no button is pressed when powered it boots the last known protocol. In the simple protocol every byte sent to the BITSI over the serial port, is represented at the 8 bit output.
| + | EDIT howto |
− | | |
− | The '''extended''' protocol uses two bytes(or two characters), this combination can access two analog outputs and a tone generator. The first byte selects the output. The second byte determines the value written to this output.
| |
− | | |
− | {| class="wikitable"
| |
− | |-
| |
− | ! scope="row" colspan="3" | BITSI Extended
| |
− | |-
| |
− | ! scope="row" width="120px" | Function
| |
− | ! scope="row" width="150px" | Byte 1 (ASCII/code)
| |
− | ! scope="row" width="150px" | Byte 2
| |
− | |-
| |
− | | Marker Out || M / 77 || Marker Value
| |
− | |-
| |
− | | Pulse Out || P / 80 || Marker Value
| |
− | |-
| |
− | | Pulse Time || X / 88 || ms before pulse reset
| |
− | |-
| |
− | | Analog Out 1 || Y / 89 || Analog Output Value
| |
− | |-
| |
− | | Analog Out 2 || Z / 90 || Analog Output Value
| |
− | |-
| |
− | | Tone || T / 84 || Start Tone
| |
− | |-
| |
− | | Detect Sound || D / || S / 83
| |
− | |-
| |
− | | Detect Voice || D / || V / 83
| |
− | |-
| |
− | | Calibrate Sound || C / || S
| |
− | |-
| |
− | | Calibrate Voice || C / || V
| |
− | |-
| |
− | | Analog In 1 || A / || 1
| |
− | |-
| |
− | | Analog In 2 || A / || 2
| |
− | |-
| |
− | | Analog In 3 || A / || 3
| |
− | |-
| |
− | | Analog In 4 || A / || 4
| |
− | |-
| |
− | | LEDs Off || L / || X
| |
− | |-
| |
− | | LEDs Input || L / || I
| |
− | |-
| |
− | | LEDs Output || L / || O
| |
− | |-
| |
− | |}
| |
| | | |
| == Port Settings == | | == Port Settings == |