Changes

Jump to navigation Jump to search
No change in size ,  02:48, 15 June 2018
Line 87: Line 87:     
=== DIP Switches ===
 
=== DIP Switches ===
To convert the bit number to the offset and bit: <code>offset = start_offset + (bit_num / 32) * 4</code>, <code>bit = (bit_num % 32) << 1</code>
+
To convert the bit number to the offset and bit: <code>offset = start_offset + (bit_num / 32) * 4</code>, <code>bit = 1 << (bit_num % 32)</code>
    
==== CP Information ====
 
==== CP Information ====

Navigation menu