×

SparkFun will be closed May 25, 2015 for Memorial Day. Orders placed after 2pm on Friday the 22nd will ship out on Tuesday. Thanks!

Member #90926

Member Since: November 18, 2009

Country: United States

  • On a Due (32 bit ARM) the signed and unsigned 16bit is a short. It appears to be a int under the AVR. I had to change the types for the constants read in from unsigned int/int to unsigned short/short. Otherwise the constants that should be negative won’t be negative. Also, Wire.send() and Wire.receive() needs to be changed to Wire.write() and Wire.read() respectively. Lib change I’m guessing. This is on the demo code provided for the BMP085.

No public wish lists :(