Difference between revisions of "NEWSS:SetInfoLEDPattern"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E0040] |- | 1 | u32 array index, internally this is handled as an u8. When a ...") |
(No difference)
|
Revision as of 20:27, 12 December 2014
Request
Index Word | Description |
---|---|
0 | Header code [0x000E0040] |
1 | u32 array index, internally this is handled as an u8. When a certain state field is zero, news-module internally sets bit0 in this index, otherwise bit0 is cleared. |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Resultcode |
Description
This uses the input array index value to load data from an array, the loaded data is then used with PTMSYSM:SetInfoLEDPattern.
The array index is not validated at all. Using out-of-bounds values should not be attempted at all, since invalid data with PTMSYSM:SetInfoLEDPattern can cause a brick.