I have purchased an accelerometer, on the back is printed on the board MOD-SMB380, I have used the accelerometer driver, with the example code that is in the brochure for the accelerometer. I have the pins plugged into the serial port on the Domino board, with the cable supplied to the accelerometer. My firmware is up to date. And I have the latest drivers. When I run the code, there is an error which points to the driver code.
An unhandled exception of type ‘System.InvalidOperationException’ occurred in Microsoft.SPOT.Hardware.dll
FEZ_Extensions_Accelerometer.cs Line 51 _spi.WriteRead(write, read);
static private byte ReadRegister(byte address) // address value is 20 at function call.
write = (byte)(0x80 | address);
write = 0xFF;
_spi.WriteRead(write, read); // <<-- This is line 51.
If you hover write in the above line, two lines show up  148 and  255
Hovering read will show  0, and  0
Hovering _spi.WriteRead shows what appears to be configuration data states.
The comments are my addition and do not appear in the actual code.
If you want any additional information I will be happy to supply it. Just so we can get by the obligatory did I plug it in and stuff. I have tested to make sure that there is power to the device. I have tried reversing the plug at the serial port, although, the red wire was originally plugged into the 1 on the serial port. There is only one way to plug in the accelerometer. My current firmware is USBizi (FEZ Mini, FEZ Domino, FEZ Rhino, FEZ Panda) V 220.127.116.11
As per usual, I look forward to hearing from anyone whom is able to help me on this.