AI bugfix and now supports external calculation of value
Shift register pins must all be fitted on pin 0 - 7
A NC DI should have its state inverted as HIGH is inactive