×

SparkFun will be closed for Labor Day (9/7/2015). Order will resume shipping out on Sept 8th. Have a great weekend!

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 :(