removed whitespace from ldocUsage examples
K400 Bug fix for the routines used to determine if status or IO bits are set
New function to return string of 1s and 0s to show IO state
K400 BUG FIX:
changed the way sendRegWait works so that it has a local callback function.
This makes the whole system reentrant and removes the problem when event handlers need to read register contents and therefore need to wait for the responses from R420 resulting in out of order poll/response processes.