This module provides access to the [L3G4200D](http://www.st.com/web/en/resource/technical/document/datasheet/CD00265057.pdf) three axis digital gyroscope.
## l3g4200d.read()
Samples the sensor and returns the gyroscope output.
#### Syntax
`l3g4200d.read()`
#### Returns
X,Y,Z gyroscope output
#### Example
```lua
l3g4200d.init(1,2)
localx,y,z=l3g4200d.read()
print(string.format("X = %d, Y = %d, Z = %d",x,y,z)
```
## l3g4200d.init()
Initializes the module and sets the pin configuration.