mirror of
https://github.com/marcriera/ddgo-controller-docs.git
synced 2025-04-11 06:39:28 +02:00
MTC: Add output details
This commit is contained in:
parent
c2379e28a9
commit
82f012405d
2 changed files with 18 additions and 2 deletions
|
@ -46,6 +46,13 @@ The second button byte also uses six bits to represent the state of the physical
|
|||
|
||||
### Output
|
||||
|
||||
No details are known regarding internal functioning.
|
||||
The controller supports receiving data via a control transfer to turn on/off the lamps. The setup packet is as follows:
|
||||
|
||||
| bmRequestType | bRequest | wValue | wIndex | wLength |
|
||||
|:-------------:|:--------:|:---------:|:------:|:-------:|
|
||||
| 0x40 | 0x50 | Lamp data | 0x0000 | 0x0000 |
|
||||
|
||||
Changing *wValue* controls the lamps with the logic below.
|
||||
|
||||
* **Door lamp:** **0x0X** is **Off**, **0x1X** is **On**.
|
||||
* **Signal lamp:** **0xX0** is **Off**, **0xX1** is **ATS**, **0xX2** is **45**, **0xX3** is **15**.
|
||||
|
|
|
@ -68,4 +68,13 @@ The second button byte also uses six bits to represent the state of the physical
|
|||
|
||||
#### Output
|
||||
|
||||
No details are known regarding internal functioning.
|
||||
The controller supports receiving data via a control transfer to turn on/off the lamps. The setup packet is as follows:
|
||||
|
||||
| bmRequestType | bRequest | wValue | wIndex | wLength |
|
||||
|:-------------:|:--------:|:---------:|:------:|:-------:|
|
||||
| 0x40 | 0x50 | Lamp data | 0x0000 | 0x0000 |
|
||||
|
||||
Changing *wValue* controls the lamps with the logic below.
|
||||
|
||||
* **Door lamp:** **0x0X** is **Off**, **0x1X** is **On**.
|
||||
* **Signal lamp:** **0xX0** is **Off**, **0xX1** is **ATS**, **0xX2** is **45**, **0xX3** is **15**.
|
||||
|
|
Loading…
Add table
Reference in a new issue