Considering the following example in paragraph 3.6.3 (Example of angular rate data for FS=250) of STM's AN4505:
Angular rate values | Register address
| 28h | 29h
...
100 dps | A4h | 2Ch
Does anybody can point me out how it comes that 0xA4 | (0x2C << 8) converts to 100 dps? I have already read both AN4505 and part's datasheet, but to my surprise, I couldn't find even a word about how exactly should we understand output register values.
Best Answer
Is the conversion at range +-250 dps
new device L3GD20H, with better datasheet http://www.st.com/content/ccc/resource/technical/document/datasheet/35/b1/e0/39/71/57/43/01/DM00060659.pdf/files/DM00060659.pdf/jcr:content/translations/en.DM00060659.pdf
"library" github.com/pololu/l3g-arduino/blob/master/L3G.cpp
Offtopic: Please check pull requests https://github.com/vdudouyt/stm8flash/pulls and merge?