Changes between Version 7 and Version 8 of Specs/I²C/Protocol


Ignore:
Timestamp:
09/09/13 02:27:54 (6 years ago)
Author:
ph3-der-loewe
Comment:

+DMX512

Legend:

Unmodified
Added
Removed
Modified
  • Specs/I²C/Protocol

    v7 v8  
    101101=== Device Serial === 
    102102The serial of the device is given as a 16 byte bitstring. This is intended to be used to store an UUID as device serial. If a vendor uses some other numbering a schema neets to be established that maps those serials to the device serial field. A mapping should be chosen that complies with the current UUID standard. 
     103 
     104 
     105== Bank 63: DMX512 == 
     106The DMX512 bank consists of two parts: the sub-bank part and the data part: 
     107||= Offset =||= Length =||= Description         =|| 
     108||4         ||1         ||Subbank select         || 
     109||5-end     ||till end  ||Data                   || 
     110 
     111The subbank select is the offset of the DMX data as mapped into the bank. 
     112The channel of a given address is: (address-5)+32*subbank. 
     113This allows access to about eight thousand channels, or sixteen universes. 
     114 
     115A typical method to randomly access channels is: 
     116{{{ 
     117 variables of unsigned integer type: bank, offset 
     118 
     119 bank = int(channel/32) 
     120 offset = bank*32 
     121 
     122 write_to_device(OFFSET_SUBBANK, bank) 
     123 write_to_device(OFFSET_DATA+channel-offset, value) 
     124}}}