LISY300 gyroscope help
I'm trying to run the test code <http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/27922-LISY300-BS2ExampleCode.zip> for our lisy300 gyroscope, but all the debug screen reads are zeros. If anyone could help us troubleshoot it would be appreciated.
Comments
The example code has this for a pin connection for the signals, but does not show power and ground connections to the Gyro
Dout PIN 0 ' P0 <-- Dout (LISY300.2)
SCLK PIN 1 ' P1 --> SCLK (LISY300.4)
CSn PIN 2 ' P2 --> /CS (LISY300.5)
Power(Pin1) and Ground(Pin3) for the LISY300 should also be shared with Power(Vdd) and Ground(Vss) on the BSII.