Home \ Help \ Search \ Login RSS

Welcome, Guest. Please Login

This forum is now READ-ONLY! Please visit http://forum.wiring.co/ for the new forum.

Wiring ForumBugsWebsite,  Reference,  Examples Bugs › bmp085 example error

Page Index Toggle Pages: 1
bmp085 example error (Read 4007 times)
03/06/11 at 05:18:52

wbp   Offline
YaBB Newbies
spaceship earth

Posts: 2
*
 
The line
  b3 = (((int32_t) ac1 * 4 + x3)<<oversampling_setting + 2) >> 2;
should be changed to:
  b3 = ((((int32_t) ac1 * 4 + x3)<<oversampling_setting) + 2) >> 2;

William
 
IP Logged
 
Reply #1 - 03/06/11 at 20:45:16

barragan   Offline
YaBB Administrator

Posts: 939
*****
 
hi, right now I don't have one of those to test, what did you get wrong with it?
 
IP Logged
 
Page Index Toggle Pages: 1