Member #90926

Member Since: November 18, 2009

Country: United States

  • Product SEN-11282 | about 8 months ago

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